File tree Expand file tree Collapse file tree 2 files changed +20
-3
lines changed
Expand file tree Collapse file tree 2 files changed +20
-3
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "profiles" : {
3+ "pwsh" : {
4+ "commandName" : " Executable" ,
5+ "executablePath" : " pwsh" ,
6+ "commandLineArgs" : " -NoExit -Command & { Import-Module .\\\\ psedit.psd1; Show-PSEditor }" ,
7+ "workingDirectory" : " $(ProjectDir)bin\\ $(Configuration)\\ $(TargetFramework)\\ publish"
8+ },
9+ "powershell" : {
10+ "commandName" : " Executable" ,
11+ "executablePath" : " powershell" ,
12+ "commandLineArgs" : " -NoExit -Command & { Import-Module .\\\\ psedit.psd1; Show-PSEditor }" ,
13+ "workingDirectory" : " $(ProjectDir)bin\\ $(Configuration)\\ $(TargetFramework)\\ publish"
14+ }
15+ }
16+ }
Original file line number Diff line number Diff line change 1- <Project Sdk =" Microsoft.NET.Sdk" >
1+ <Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
44 <TargetFramework >netstandard2.0</TargetFramework >
1111 <PackageReference Include =" Newtonsoft.Json" Version =" 13.0.3" />
1212 <PackageReference Include =" YamlDotNet" Version =" 16.3.0" />
1313 </ItemGroup >
14-
1514 <ItemGroup >
1615 <None Include =" psedit.psd1" >
1716 <CopyToOutputDirectory >Always</CopyToOutputDirectory >
1817 </None >
1918 </ItemGroup >
20-
19+ <Target Name =" PublishForDebugging" AfterTargets =" Build" Condition =" '$(Configuration)'=='Debug' and '$(BuildingInsideVisualStudio)'=='true'" >
20+ <Exec Command =" dotnet publish " $(MSBuildProjectFullPath)" -c $(Configuration) -f $(TargetFramework) -o " $(ProjectDir)bin\$(Configuration)\$(TargetFramework)\publish" " />
21+ </Target >
2122</Project >
You can’t perform that action at this time.
0 commit comments