File tree Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -98,18 +98,22 @@ of patent rights can be found in the PATENTS file in the same directory.
9898 </Target >
9999
100100 <Target Name =" Push" >
101- <!-- For dev -->
101+ <CallTarget Targets =" PushDev" Condition =" $(BuildType) != 'Release'" />
102+ <CallTarget Targets =" PushRelease" Condition =" $(BuildType) == 'Release'" />
103+ </Target >
104+ <Target Name =" PushRelease" >
105+ <ItemGroup >
106+ <PackageFiles Include =" $(PackageOutputDir)\*.nupkg" Exclude =" $(PackageOutputDir)\*.symbols.nupkg" />
107+ </ItemGroup >
102108 <Exec
103- Condition=" $(BuildType) != 'Release'"
104109 WorkingDirectory=" $(MSBuildProjectDirectory)"
105- Command=" tools\NuGet\nuget.exe push $(PackageOutputDir)\*.symbols.nupkg -Source $(DevNuGetServer ) -NonInteractive"
110+ Command=" tools\NuGet\nuget.exe push %(PackageFiles.Identity ) -NonInteractive"
106111 />
107-
108- <!-- For release -- >
112+ </ Target >
113+ < Target Name = " PushDev " >
109114 <Exec
110- Condition=" $(BuildType) == 'Release'"
111115 WorkingDirectory=" $(MSBuildProjectDirectory)"
112- Command=" tools\NuGet\nuget.exe push $(PackageOutputDir)\*.nupkg -NonInteractive"
113- />
116+ Command=" tools\NuGet\nuget.exe push $(PackageOutputDir)\*.symbols. nupkg -Source $(DevNuGetServer) -NonInteractive"
117+ />
114118 </Target >
115119</Project >
Original file line number Diff line number Diff line change 7171 <None Include =" packages.config" />
7272 </ItemGroup >
7373 <ItemGroup >
74+ <ProjectReference Include =" ..\React.Web\React.Web.csproj" >
75+ <Project >{134edd16-8dc8-4983-a2e0-b38dab1ecf1c}</Project >
76+ <Name >React.Web</Name >
77+ </ProjectReference >
7478 <ProjectReference Include =" ..\React\React.csproj" >
7579 <Project >{d0cc8a22-cee6-485c-924b-1f94426fea59}</Project >
7680 <Name >React</Name >
You can’t perform that action at this time.
0 commit comments