diff --git a/DotNet.Bundle/DotNet.Bundle.csproj b/DotNet.Bundle/DotNet.Bundle.csproj index 9bdcbbe..67a9f6c 100644 --- a/DotNet.Bundle/DotNet.Bundle.csproj +++ b/DotNet.Bundle/DotNet.Bundle.csproj @@ -1,23 +1,22 @@ - - netstandard2.0 + net8.0 true tasks - 0.9.14 + 0.10.0 + true - + true - build\ + build/ + PreserveNewest - - - + + - \ No newline at end of file diff --git a/DotNet.Bundle/build/DotNet.Bundle.targets b/DotNet.Bundle/build/DotNet.Bundle.targets index 2029b8d..011e62f 100644 --- a/DotNet.Bundle/build/DotNet.Bundle.targets +++ b/DotNet.Bundle/build/DotNet.Bundle.targets @@ -1,12 +1,12 @@ - netstandard2.0 - $(MSBuildThisFileDirectory)..\tasks\$(TaskFolder)\DotNet.Bundle.dll + net8.0 + $(MSBuildThisFileDirectory)../tasks/$(TaskFolder)/DotNet.Bundle.dll - + @@ -58,7 +58,6 @@ NSRequiresAquaSystemAppearance="$(NSRequiresAquaSystemAppearance)" CFBundleURLTypes="@(CFBundleURLTypes)" /> - \ No newline at end of file diff --git a/README.md b/README.md index 9f288da..b99681a 100644 --- a/README.md +++ b/README.md @@ -20,27 +20,24 @@ dotnet msbuild -t:BundleApp -p:RuntimeIdentifier=osx-x64 [-p: ...] ### Properties -Define properties to override default bundle values +Define properties to override default bundle values. Check [TestBundle.csproj](TestBundle/TestBundle.csproj) for a working example. ``` AppName App Name - com.example + com.example.app + 1.0.0 1.0.0 APPL ???? AppName AppName.icns - NSApplication true - - - true + - TestApp URL testappurl;testappurl:// diff --git a/TestBundle/Program.cs b/TestBundle/Program.cs new file mode 100644 index 0000000..8a5f94a --- /dev/null +++ b/TestBundle/Program.cs @@ -0,0 +1,6 @@ +namespace TestBundle; + +public class Program +{ + +} \ No newline at end of file diff --git a/TestBundle/TestBundle.csproj b/TestBundle/TestBundle.csproj index cd4d9c6..9a3ac55 100644 --- a/TestBundle/TestBundle.csproj +++ b/TestBundle/TestBundle.csproj @@ -1,53 +1,45 @@ - false - ..\Build\$(Configuration)\ - net5.0 + net8.0 x64 osx-x64 - $(RestoreSources);..\\Dotnet.Bundle\\bin\\$(Configuration)\\ - 9.9.999952 - - - - BeforeBuild - dotnet pack ..\\Dotnet.Bundle\\ -p:Configuration=$(Configuration) -p:PackageVersion=$(DotnetBundleTestVersion) - - - BeforeBuild - dotnet restore - - - AfterBuild - dotnet msbuild -t:BundleApp -p:RuntimeIdentifier=osx-x64 -p:Configuration=$(Configuration) - - - + 0.10.0 + + + + + + + + + + + + + + TestBundle - TestBundle - TestBundle + Test Bundle + org.test.testbundle + 1.0.0 + 1.0.0 IconTest.icns - NSApplication - AAPL - 4242 - false + APPL + false - TestApp URL + org.test.testbundle testappurl;testappurl:// - TestApp URL2 + org.test.testbundle test:// - - - \ No newline at end of file