File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -141,8 +141,14 @@ In your new project add a new NuGet.config to point to the Microsoft.NETCore.App
141
141
``` xml
142
142
<?xml version =" 1.0" encoding =" utf-8" ?>
143
143
<configuration >
144
- <!-- NOTE: Leave this file here and keep it in sync with list in dir.props. -->
145
- <!-- The command-line doesn't need it, but the IDE does. -->
144
+ <!--
145
+ Use a fresh packages directory located in the working directory.
146
+ This helps avoid nuget cache collision problems.
147
+ -->
148
+ <config >
149
+ <add key =" globalPackagesFolder" value =" packages" />
150
+ </config >
151
+ <!-- Prefer the source-built packages over the ones from nuget.org. -->
146
152
<packageSources >
147
153
<clear />
148
154
<add key =" local feed" value =" E:\repos\source-build\bin\x64\Release\runtime" />
@@ -158,10 +164,10 @@ Then in your csproj we need to set the Runtime version:
158
164
159
165
<PropertyGroup >
160
166
<OutputType >Exe</OutputType >
161
- <TargetFramework >netcoreapp2.2 </TargetFramework >
167
+ <TargetFramework >netcoreapp3.0 </TargetFramework >
162
168
<RootNamespace >source_build_test</RootNamespace >
163
- <RuntimeFrameworkVersion >2.2 .0-preview1-26509-04</RuntimeFrameworkVersion >
164
- <NETCoreAppMaximumVersion >2.2 </NETCoreAppMaximumVersion >
169
+ <RuntimeFrameworkVersion >3.0 .0-preview1-26509-04</RuntimeFrameworkVersion >
170
+ <NETCoreAppMaximumVersion >3.0 </NETCoreAppMaximumVersion >
165
171
</PropertyGroup >
166
172
167
173
</Project >
You can’t perform that action at this time.
0 commit comments