Skip to content

Commit

Permalink
Set AppendTargetFrameworkToOutputPath to FALSE
Browse files Browse the repository at this point in the history
  • Loading branch information
gerrit-amagno committed Aug 27, 2024
1 parent aa62f1a commit f5873a2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>none</DebugType>
<OutputPath>bin\Release</OutputPath>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\Common\AmagnoVirtualPrinter.Agent.Autofac\AmagnoVirtualPrinter.Agent.Autofac.csproj" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>none</DebugType>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<OutputPath>..\..\Files\</OutputPath>
</PropertyGroup>
<PropertyGroup>
Expand Down
4 changes: 2 additions & 2 deletions Installer/AmagnoVirtualPrinter.WixSharpInstaller/Script.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ public static void Main([NotNull]string[] args)
throw new ArgumentException("Argument for working directory (/p) not set.");
}

_filesDir = Path.Combine(workingDir, Utils.Files.FILES);
_filesDir = Path.Combine(workingDir, Files.FILES);
var feature = new Feature("AmagnoPrinter");
var printerServiceFile = new File(feature, Path.Combine(_filesDir, Utils.Files.PRINTER_SERVICE_EXE))
var printerServiceFile = new File(feature, Path.Combine(_filesDir, Files.PRINTER_SERVICE_EXE))
{
ServiceInstaller = new ServiceInstaller
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
Expand Down

0 comments on commit f5873a2

Please sign in to comment.