Skip to content

Commit

Permalink
chore: ignore props
Browse files Browse the repository at this point in the history
1. Directory.Build.props
2. Directory.Packages.props
  • Loading branch information
emako committed Jan 8, 2025
1 parent b0d9ca9 commit 88b5895
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/MicaSetup.Tools/MakeMica.Cli/Core/CSharpCompiler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public static void Build(MicaConfig config)
Console.OutputEncoding = Encoding.UTF8;

CliResult uninstResult = msbuild
.WithArguments(@".dist\MicaSetup.Uninst.csproj /t:Rebuild /p:Configuration=Release /p:DeployOnBuild=true /p:PublishProfile=FolderProfile /restore")
.WithArguments(@".dist\MicaSetup.Uninst.csproj /t:Rebuild /p:Configuration=Release /p:DeployOnBuild=true /p:PublishProfile=FolderProfile /p:ImportDirectoryBuildProps=false /p:RestoreUseStaticGraphEvaluation=false /restore")
.WithStandardOutputPipe(PipeTarget.ToDelegate(static async (line, token) =>
{
Console.Out.WriteLine(line);
Expand All @@ -62,7 +62,7 @@ public static void Build(MicaConfig config)
File.Copy(@".\.dist\bin\Release\MicaSetup.exe", @".\.dist\Resources\Setups\Uninst.exe", true);

CliResult setupResult = msbuild
.WithArguments(@".\.dist\MicaSetup.csproj /t:Build /p:Configuration=Release /p:DeployOnBuild=true /p:PublishProfile=FolderProfile /restore")
.WithArguments(@".dist\MicaSetup.Uninst.csproj /t:Rebuild /p:Configuration=Release /p:DeployOnBuild=true /p:PublishProfile=FolderProfile /p:ImportDirectoryBuildProps=false /p:RestoreUseStaticGraphEvaluation=false /restore")
.WithStandardOutputPipe(PipeTarget.ToDelegate(static async (line, token) =>
{
Console.Out.WriteLine(line);
Expand Down
2 changes: 2 additions & 0 deletions build/MicaSetup/MicaSetup.Uninst.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
<AssemblyOriginatorKeyFile>app.snk</AssemblyOriginatorKeyFile>
<DefineConstants>$(DefineConstants);UNINST</DefineConstants>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<ImportDirectoryBuildTargets>false</ImportDirectoryBuildTargets>
<ManagePackageVersionsCentrally>false</ManagePackageVersionsCentrally>
</PropertyGroup>

<PropertyGroup>
Expand Down
2 changes: 2 additions & 0 deletions build/MicaSetup/MicaSetup.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
<AssemblyOriginatorKeyFile>app.snk</AssemblyOriginatorKeyFile>
<DefineConstants>$(DefineConstants);SETUP</DefineConstants>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<ImportDirectoryBuildTargets>false</ImportDirectoryBuildTargets>
<ManagePackageVersionsCentrally>false</ManagePackageVersionsCentrally>
</PropertyGroup>

<PropertyGroup>
Expand Down

0 comments on commit 88b5895

Please sign in to comment.