using nuget packages
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,4 @@
|
|||||||
result
|
result
|
||||||
*/bin
|
*/bin
|
||||||
*/obj
|
*/obj
|
||||||
|
out
|
||||||
|
|||||||
@@ -1,2 +1,5 @@
|
|||||||
// See https://aka.ms/new-console-template for more information
|
using Groomgy.HelloWorld;
|
||||||
Console.WriteLine("Hello, World!");
|
|
||||||
|
// See https://aka.ms/new-console-template for more information
|
||||||
|
var svc = new HelloWorldService();
|
||||||
|
Console.WriteLine(svc.Say());
|
||||||
|
|||||||
@@ -7,4 +7,8 @@
|
|||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Groomgy.HelloWorld" Version="1.16.1" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
12
deps.json
Normal file
12
deps.json
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"pname": "Groomgy.HelloWorld",
|
||||||
|
"version": "1.16.1",
|
||||||
|
"hash": "sha256-CISAKA31GAQNJ3HeCSb1FzC2ViU9CB5UIai6pmO+AvE="
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pname": "Groomgy.HelloWorldDependencyLibrary",
|
||||||
|
"version": "1.16.1",
|
||||||
|
"hash": "sha256-bReNmXls62mIi/13iOq55RutIfyddDDVpyqbIkSBBno="
|
||||||
|
}
|
||||||
|
]
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
src = ./.;
|
src = ./.;
|
||||||
|
|
||||||
projectFile = "dotnet-nix-testing.sln";
|
projectFile = "dotnet-nix-testing.sln";
|
||||||
# nugetDeps = ./deps.json; # see "Generating and updating NuGet dependencies" section for details
|
nugetDeps = ./deps.json;
|
||||||
|
|
||||||
# buildInputs = [
|
# buildInputs = [
|
||||||
# referencedProject
|
# referencedProject
|
||||||
@@ -62,6 +62,8 @@
|
|||||||
{
|
{
|
||||||
name = "dotnet-env";
|
name = "dotnet-env";
|
||||||
packages = [
|
packages = [
|
||||||
|
just
|
||||||
|
nuget-to-json
|
||||||
(
|
(
|
||||||
with dotnetCorePackages;
|
with dotnetCorePackages;
|
||||||
combinePackages [
|
combinePackages [
|
||||||
|
|||||||
Reference in New Issue
Block a user