Skip to content

Commit

Permalink
chore: ignore external props
Browse files Browse the repository at this point in the history
  • Loading branch information
emako committed Jan 8, 2025
1 parent 8a1bbeb commit bed256a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 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,8 @@ 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")
.WithEnvironmentVariable([("ExcludeRestorePackageImports", "true")])
.WithStandardOutputPipe(PipeTarget.ToDelegate(static async (line, token) =>
{
Console.Out.WriteLine(line);
Expand All @@ -62,7 +63,8 @@ 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.csproj /t:Build /p:Configuration=Release /p:DeployOnBuild=true /p:PublishProfile=FolderProfile /p:ImportDirectoryBuildProps=false /p:RestoreUseStaticGraphEvaluation=false /restore")
.WithEnvironmentVariable([("ExcludeRestorePackageImports", "true")])
.WithStandardOutputPipe(PipeTarget.ToDelegate(static async (line, token) =>
{
Console.Out.WriteLine(line);
Expand Down

0 comments on commit bed256a

Please sign in to comment.