File tree Expand file tree Collapse file tree 11 files changed +51
-10
lines changed
OutOfProcessRequestHandler
IIS/samples/NativeIISSample Expand file tree Collapse file tree 11 files changed +51
-10
lines changed Original file line number Diff line number Diff line change 33
33
<UseDebugLibraries >true</UseDebugLibraries >
34
34
<PlatformToolset >v142</PlatformToolset >
35
35
<CharacterSet >Unicode</CharacterSet >
36
+ <VCToolsVersion />
36
37
</PropertyGroup >
37
38
<PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|x64'" Label =" Configuration" >
38
39
<ConfigurationType >DynamicLibrary</ConfigurationType >
39
40
<UseDebugLibraries >true</UseDebugLibraries >
40
41
<PlatformToolset >v142</PlatformToolset >
41
42
<CharacterSet >Unicode</CharacterSet >
43
+ <VCToolsVersion />
42
44
</PropertyGroup >
43
45
<PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" Label =" Configuration" >
44
46
<ConfigurationType >DynamicLibrary</ConfigurationType >
45
47
<UseDebugLibraries >false</UseDebugLibraries >
46
48
<PlatformToolset >v142</PlatformToolset >
47
49
<WholeProgramOptimization >true</WholeProgramOptimization >
48
50
<CharacterSet >Unicode</CharacterSet >
51
+ <VCToolsVersion />
49
52
</PropertyGroup >
50
53
<PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|x64'" Label =" Configuration" >
51
54
<ConfigurationType >DynamicLibrary</ConfigurationType >
52
55
<UseDebugLibraries >false</UseDebugLibraries >
53
56
<PlatformToolset >v142</PlatformToolset >
54
57
<WholeProgramOptimization >true</WholeProgramOptimization >
55
58
<CharacterSet >Unicode</CharacterSet >
59
+ <VCToolsVersion />
56
60
</PropertyGroup >
57
61
<Import Project =" $(VCTargetsPath)\Microsoft.Cpp.props" />
58
62
<Import Project =" ..\..\build\Build.Settings" />
Original file line number Diff line number Diff line change 31
31
<UseDebugLibraries >true</UseDebugLibraries >
32
32
<PlatformToolset >v142</PlatformToolset >
33
33
<CharacterSet >Unicode</CharacterSet >
34
+ <VCToolsVersion />
34
35
</PropertyGroup >
35
36
<PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" Label =" Configuration" >
36
37
<ConfigurationType >StaticLibrary</ConfigurationType >
37
38
<UseDebugLibraries >false</UseDebugLibraries >
38
39
<PlatformToolset >v142</PlatformToolset >
39
40
<WholeProgramOptimization >true</WholeProgramOptimization >
40
41
<CharacterSet >Unicode</CharacterSet >
42
+ <VCToolsVersion />
41
43
</PropertyGroup >
42
44
<PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|x64'" Label =" Configuration" >
43
45
<ConfigurationType >StaticLibrary</ConfigurationType >
44
46
<UseDebugLibraries >true</UseDebugLibraries >
45
47
<PlatformToolset >v142</PlatformToolset >
46
48
<CharacterSet >Unicode</CharacterSet >
49
+ <VCToolsVersion />
47
50
</PropertyGroup >
48
51
<PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|x64'" Label =" Configuration" >
49
52
<ConfigurationType >StaticLibrary</ConfigurationType >
50
53
<UseDebugLibraries >false</UseDebugLibraries >
51
54
<PlatformToolset >v142</PlatformToolset >
52
55
<WholeProgramOptimization >false</WholeProgramOptimization >
53
56
<CharacterSet >Unicode</CharacterSet >
57
+ <VCToolsVersion />
54
58
</PropertyGroup >
55
59
<Import Project =" $(VCTargetsPath)\Microsoft.Cpp.props" />
56
60
<ImportGroup Label =" ExtensionSettings" >
Original file line number Diff line number Diff line change 26
26
<CharacterSet >Unicode</CharacterSet >
27
27
</PropertyGroup >
28
28
<Import Project =" $(VCTargetsPath)\Microsoft.Cpp.Default.props" />
29
+ <PropertyGroup Label =" Configuration" Condition =" '$(Configuration)|$(Platform)'=='Debug|Win32'" >
30
+ <VCToolsVersion />
31
+ </PropertyGroup >
32
+ <PropertyGroup Label =" Configuration" Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" >
33
+ <VCToolsVersion />
34
+ </PropertyGroup >
35
+ <PropertyGroup Label =" Configuration" Condition =" '$(Configuration)|$(Platform)'=='Debug|x64'" >
36
+ <VCToolsVersion />
37
+ </PropertyGroup >
38
+ <PropertyGroup Label =" Configuration" Condition =" '$(Configuration)|$(Platform)'=='Release|x64'" >
39
+ <VCToolsVersion />
40
+ </PropertyGroup >
29
41
<Import Project =" $(VCTargetsPath)\Microsoft.Cpp.props" />
30
42
<ImportGroup Label =" ExtensionSettings" />
31
43
<ImportGroup Label =" Shared" />
Original file line number Diff line number Diff line change 31
31
<UseDebugLibraries >true</UseDebugLibraries >
32
32
<PlatformToolset >v142</PlatformToolset >
33
33
<CharacterSet >Unicode</CharacterSet >
34
+ <VCToolsVersion />
34
35
</PropertyGroup >
35
36
<PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|x64'" Label =" Configuration" >
36
37
<ConfigurationType >StaticLibrary</ConfigurationType >
37
38
<UseDebugLibraries >true</UseDebugLibraries >
38
39
<PlatformToolset >v142</PlatformToolset >
39
40
<CharacterSet >Unicode</CharacterSet >
41
+ <VCToolsVersion />
40
42
</PropertyGroup >
41
43
<PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" Label =" Configuration" >
42
44
<ConfigurationType >StaticLibrary</ConfigurationType >
43
45
<UseDebugLibraries >false</UseDebugLibraries >
44
46
<PlatformToolset >v142</PlatformToolset >
45
47
<WholeProgramOptimization >true</WholeProgramOptimization >
46
48
<CharacterSet >Unicode</CharacterSet >
49
+ <VCToolsVersion />
47
50
</PropertyGroup >
48
51
<PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|x64'" Label =" Configuration" >
49
52
<ConfigurationType >StaticLibrary</ConfigurationType >
50
53
<UseDebugLibraries >false</UseDebugLibraries >
51
54
<PlatformToolset >v142</PlatformToolset >
52
55
<WholeProgramOptimization >true</WholeProgramOptimization >
53
56
<CharacterSet >Unicode</CharacterSet >
57
+ <VCToolsVersion />
54
58
</PropertyGroup >
55
59
<Import Project =" $(VCTargetsPath)\Microsoft.Cpp.props" />
56
60
<ImportGroup Label =" ExtensionSettings" >
Original file line number Diff line number Diff line change 33
33
<UseDebugLibraries >true</UseDebugLibraries >
34
34
<PlatformToolset >v142</PlatformToolset >
35
35
<CharacterSet >Unicode</CharacterSet >
36
+ <VCToolsVersion />
36
37
</PropertyGroup >
37
38
<PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" Label =" Configuration" >
38
39
<ConfigurationType >DynamicLibrary</ConfigurationType >
39
40
<UseDebugLibraries >false</UseDebugLibraries >
40
41
<PlatformToolset >v142</PlatformToolset >
41
42
<WholeProgramOptimization >true</WholeProgramOptimization >
42
43
<CharacterSet >Unicode</CharacterSet >
44
+ <VCToolsVersion />
43
45
</PropertyGroup >
44
46
<PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|x64'" Label =" Configuration" >
45
47
<ConfigurationType >DynamicLibrary</ConfigurationType >
46
48
<UseDebugLibraries >true</UseDebugLibraries >
47
49
<PlatformToolset >v142</PlatformToolset >
48
50
<CharacterSet >Unicode</CharacterSet >
51
+ <VCToolsVersion />
49
52
</PropertyGroup >
50
53
<PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|x64'" Label =" Configuration" >
51
54
<ConfigurationType >DynamicLibrary</ConfigurationType >
52
55
<UseDebugLibraries >false</UseDebugLibraries >
53
56
<PlatformToolset >v142</PlatformToolset >
54
57
<WholeProgramOptimization >true</WholeProgramOptimization >
55
58
<CharacterSet >Unicode</CharacterSet >
59
+ <VCToolsVersion />
56
60
</PropertyGroup >
57
61
<Import Project =" $(VCTargetsPath)\Microsoft.Cpp.props" />
58
62
<ImportGroup Label =" ExtensionSettings" >
Original file line number Diff line number Diff line change @@ -239,7 +239,7 @@ IN_PROCESS_APPLICATION::ExecuteApplication()
239
239
// We could hack it so we check if the dll exists before and after setting the current directory
240
240
// But the best solution would be to be able to set a specific assembly name rather than full path
241
241
// See: https://github.com/dotnet/core-setup/issues/5556
242
- auto startupHookDll = Environment::GetCurrentDirectoryValue () + std::wstring (L" \\ Microsoft.AspNetCore.Server.IIS.dll " );
242
+ auto startupHookDll = std::wstring (L" Microsoft.AspNetCore.Server.IIS" );
243
243
244
244
SetEnvironmentVariable (L" DOTNET_STARTUP_HOOKS" , startupHookDll.c_str ());
245
245
Original file line number Diff line number Diff line change 33
33
<UseDebugLibraries >true</UseDebugLibraries >
34
34
<PlatformToolset >v142</PlatformToolset >
35
35
<CharacterSet >Unicode</CharacterSet >
36
+ <VCToolsVersion />
36
37
</PropertyGroup >
37
38
<PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" Label =" Configuration" >
38
39
<ConfigurationType >DynamicLibrary</ConfigurationType >
39
40
<UseDebugLibraries >false</UseDebugLibraries >
40
41
<PlatformToolset >v142</PlatformToolset >
41
42
<WholeProgramOptimization >true</WholeProgramOptimization >
42
43
<CharacterSet >Unicode</CharacterSet >
44
+ <VCToolsVersion />
43
45
</PropertyGroup >
44
46
<PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|x64'" Label =" Configuration" >
45
47
<ConfigurationType >DynamicLibrary</ConfigurationType >
46
48
<UseDebugLibraries >true</UseDebugLibraries >
47
49
<PlatformToolset >v142</PlatformToolset >
48
50
<CharacterSet >Unicode</CharacterSet >
51
+ <VCToolsVersion />
49
52
</PropertyGroup >
50
53
<PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|x64'" Label =" Configuration" >
51
54
<ConfigurationType >DynamicLibrary</ConfigurationType >
52
55
<UseDebugLibraries >false</UseDebugLibraries >
53
56
<PlatformToolset >v142</PlatformToolset >
54
57
<WholeProgramOptimization >true</WholeProgramOptimization >
55
58
<CharacterSet >Unicode</CharacterSet >
59
+ <VCToolsVersion />
56
60
</PropertyGroup >
57
61
<Import Project =" $(VCTargetsPath)\Microsoft.Cpp.props" />
58
62
<ImportGroup Label =" ExtensionSettings" >
Original file line number Diff line number Diff line change 31
31
<UseDebugLibraries >true</UseDebugLibraries >
32
32
<PlatformToolset >v142</PlatformToolset >
33
33
<CharacterSet >Unicode</CharacterSet >
34
+ <VCToolsVersion />
34
35
</PropertyGroup >
35
36
<PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" Label =" Configuration" >
36
37
<ConfigurationType >StaticLibrary</ConfigurationType >
37
38
<UseDebugLibraries >false</UseDebugLibraries >
38
39
<PlatformToolset >v142</PlatformToolset >
39
40
<WholeProgramOptimization >true</WholeProgramOptimization >
40
41
<CharacterSet >Unicode</CharacterSet >
42
+ <VCToolsVersion />
41
43
</PropertyGroup >
42
44
<PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|x64'" Label =" Configuration" >
43
45
<ConfigurationType >StaticLibrary</ConfigurationType >
44
46
<UseDebugLibraries >true</UseDebugLibraries >
45
47
<PlatformToolset >v142</PlatformToolset >
46
48
<CharacterSet >Unicode</CharacterSet >
49
+ <VCToolsVersion />
47
50
</PropertyGroup >
48
51
<PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|x64'" Label =" Configuration" >
49
52
<ConfigurationType >StaticLibrary</ConfigurationType >
50
53
<UseDebugLibraries >false</UseDebugLibraries >
51
54
<PlatformToolset >v142</PlatformToolset >
52
55
<WholeProgramOptimization >false</WholeProgramOptimization >
53
56
<CharacterSet >Unicode</CharacterSet >
57
+ <VCToolsVersion />
54
58
</PropertyGroup >
55
59
<Import Project =" $(VCTargetsPath)\Microsoft.Cpp.props" />
56
60
<ImportGroup Label =" ExtensionSettings" >
Original file line number Diff line number Diff line change 35
35
<PlatformToolset >v142</PlatformToolset >
36
36
<CharacterSet >Unicode</CharacterSet >
37
37
<TargetName >gtestd</TargetName >
38
+ <VCToolsVersion />
38
39
</PropertyGroup >
39
40
<PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" Label =" Configuration" >
40
41
<ConfigurationType >StaticLibrary</ConfigurationType >
43
44
<WholeProgramOptimization >true</WholeProgramOptimization >
44
45
<CharacterSet >Unicode</CharacterSet >
45
46
<TargetName >gtest</TargetName >
47
+ <VCToolsVersion />
46
48
</PropertyGroup >
47
49
<PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|x64'" Label =" Configuration" >
48
50
<ConfigurationType >StaticLibrary</ConfigurationType >
49
51
<UseDebugLibraries >true</UseDebugLibraries >
50
52
<PlatformToolset >v142</PlatformToolset >
51
53
<CharacterSet >Unicode</CharacterSet >
52
54
<TargetName >gtestd</TargetName >
55
+ <VCToolsVersion />
53
56
</PropertyGroup >
54
57
<PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|x64'" Label =" Configuration" >
55
58
<ConfigurationType >StaticLibrary</ConfigurationType >
58
61
<WholeProgramOptimization >true</WholeProgramOptimization >
59
62
<CharacterSet >Unicode</CharacterSet >
60
63
<TargetName >gtest</TargetName >
64
+ <VCToolsVersion />
61
65
</PropertyGroup >
62
66
<Import Project =" $(VCTargetsPath)\Microsoft.Cpp.props" />
63
67
<ImportGroup Label =" ExtensionSettings" >
Original file line number Diff line number Diff line change @@ -118,14 +118,15 @@ public void Configure(IApplicationBuilder app)
118
118
119
119
public static void Main ( string [ ] args )
120
120
{
121
- var host = new WebHostBuilder ( )
122
- . UseKestrel ( )
123
- . UseIIS ( )
124
- . UseIISIntegration ( )
125
- . UseStartup < Startup > ( )
126
- . Build ( ) ;
127
-
128
- host . Run ( ) ;
121
+ throw new Exception ( ) ;
122
+ //var host = new WebHostBuilder()
123
+ // .UseKestrel()
124
+ // .UseIIS()
125
+ // .UseIISIntegration()
126
+ // .UseStartup<Startup>()
127
+ // .Build();
128
+
129
+ //host.Run();
129
130
}
130
131
}
131
132
}
Original file line number Diff line number Diff line change 4
4
<SolutionDir Condition =" $(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'" >$(MSBuildThisFileDirectory)..\</SolutionDir >
5
5
<Configuration Condition =" '$(Configuration)'==''" >Debug</Configuration >
6
6
<Platform Condition =" '$(Platform)' == ''" >Win32</Platform >
7
- <PlatformToolset >v141 </PlatformToolset >
7
+ <PlatformToolset >v142 </PlatformToolset >
8
8
<OutputPath Condition =" '$(OutputPath)' == ''" >$(MSBuildProjectDirectory)\bin\$(Configuration)\$(Platform)\</OutputPath >
9
9
<OutDir >$(OutputPath)</OutDir >
10
10
<AspNetCoreModuleTargetName >aspnetcore</AspNetCoreModuleTargetName >
You can’t perform that action at this time.
0 commit comments