Skip to content

Commit e129331

Browse files
committed
Fix missing parts
1 parent 893f221 commit e129331

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Packages/com.unity.ide.visualstudio.tests/Tests/Editor/CSProjectTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ public void DefaultSyncSettings_WhenSynced_CreatesProjectFileFromDefaultTemplate
156156
" <PropertyGroup Condition=\" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' \">",
157157
" <DebugType>pdbonly</DebugType>",
158158
" <Optimize>true</Optimize>",
159-
" <OutputPath>Temp\\bin\\Release\\</OutputPath>",
159+
$" <OutputPath>{@"Temp\bin\Release\".NormalizePathSeparators()}</OutputPath>",
160160
" <ErrorReport>prompt</ErrorReport>",
161161
" <WarningLevel>4</WarningLevel>",
162162
" <NoWarn>0169;USG0001</NoWarn>",
@@ -183,7 +183,7 @@ public void DefaultSyncSettings_WhenSynced_CreatesProjectFileFromDefaultTemplate
183183
" </ItemGroup>",
184184
" <ItemGroup>",
185185
" </ItemGroup>",
186-
" <Import Project=\"$(MSBuildToolsPath)\\Microsoft.CSharp.targets\" />",
186+
$" <Import Project=\"{@"$(MSBuildToolsPath)\Microsoft.CSharp.targets".NormalizePathSeparators()}\" />",
187187
" <Target Name=\"GenerateTargetFrameworkMonikerAttribute\" />",
188188
" <!-- To modify your build process, add your task inside one of the targets below and uncomment it.",
189189
" Other similar extension points exist, see Microsoft.Common.targets.",

Packages/com.unity.ide.visualstudio/Editor/ProjectGeneration/LegacyStyleProjectGeneration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ internal override void AppendProjectReference(Assembly assembly, Assembly refere
8484
internal override void GetProjectFooter(StringBuilder footerBuilder)
8585
{
8686
footerBuilder.Append(string.Join(k_WindowsNewline,
87-
@" <Import Project=""$(MSBuildToolsPath)\Microsoft.CSharp.targets"" />",
87+
$" <Import Project=\"{@"$(MSBuildToolsPath)\Microsoft.CSharp.targets".NormalizePathSeparators()}\" />",
8888
@" <Target Name=""GenerateTargetFrameworkMonikerAttribute"" />",
8989
@" <!-- To modify your build process, add your task inside one of the targets below and uncomment it.",
9090
@" Other similar extension points exist, see Microsoft.Common.targets.",

0 commit comments

Comments
 (0)