File tree Expand file tree Collapse file tree 2 files changed +6
-25
lines changed
test/Identity.FunctionalTests Expand file tree Collapse file tree 2 files changed +6
-25
lines changed Original file line number Diff line number Diff line change 118
118
Name =" _GetRazorDlls" BeforeTargets =" GetCopyToOutputDirectoryItems" >
119
119
120
120
<ItemGroup >
121
- <_AllItemsFullPathWithTargetPath Include =" $(MSBuildThisFileDirectory)$(IntermediateOutputPath)%(UIFrameworkVersionMoniker.Identity)\$(TargetName).Views.%(UIFrameworkVersionMoniker.Identity).*" />
121
+ <_GeneratedRazorViews Include =" $(TargetDir)$(TargetName).Views.%(UIFrameworkVersionMoniker.Identity).dll" />
122
+ <_GeneratedRazorViews Include =" $(TargetDir)$(TargetName).Views.%(UIFrameworkVersionMoniker.Identity).pdb" />
122
123
123
- <AllItemsFullPathWithTargetPath Include =" %(_AllItemsFullPathWithTargetPath .FullPath)" >
124
- <TargetPath >%(Filename )%(Extension)</TargetPath >
124
+ <AllItemsFullPathWithTargetPath Include =" %(_GeneratedRazorViews .FullPath)" >
125
+ <TargetPath >%(FileName )%(Extension)</TargetPath >
125
126
<CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
126
127
</AllItemsFullPathWithTargetPath >
127
128
</ItemGroup >
143
144
144
145
<Target Name =" VerifyBuildOutputs" AfterTargets =" BuildRazorViews" >
145
146
<ItemGroup >
146
- <ExpectedOutputFile Include =" $(OutputPath )Microsoft.AspNetCore.Identity.UI.Views.V3.dll" />
147
- <ExpectedOutputFile Include =" $(OutputPath )Microsoft.AspNetCore.Identity.UI.Views.V4.dll" />
147
+ <ExpectedOutputFile Include =" $(TargetDir )Microsoft.AspNetCore.Identity.UI.Views.V3.dll" />
148
+ <ExpectedOutputFile Include =" $(TargetDir )Microsoft.AspNetCore.Identity.UI.Views.V4.dll" />
148
149
</ItemGroup >
149
150
150
151
<Error Text =" Unable to find precompiled view file %(ExpectedOutputFile.Identity)"
Original file line number Diff line number Diff line change 24
24
</ItemGroup >
25
25
26
26
<Import Project =" $(MvcTestingTargets)" Condition =" '$(MvcTestingTargets)' != ''" />
27
-
28
- <Target Name =" CopyViews" AfterTargets =" Build" Condition =" $(TargetFramework) != ''" >
29
- <ItemGroup >
30
- <_IdentityUIViewsAssemblies Include =" $(MSBuildThisFileDirectory)..\..\UI\src\bin\$(Configuration)\netstandard2.0\Microsoft.AspNetCore.Identity.UI.Views.*.dll" />
31
- </ItemGroup >
32
- <Copy
33
- SourceFiles =" @(_IdentityUIViewsAssemblies)"
34
- DestinationFolder =" $(OutputPath)" />
35
- </Target >
36
-
37
- <Target Name =" VerifyBuildOutputs" AfterTargets =" Build" Condition =" $(TargetFramework) != ''" >
38
- <ItemGroup >
39
- <ExpectedOutputFile Include =" $(OutputPath)Microsoft.AspNetCore.Identity.UI.Views.V3.dll" />
40
- <ExpectedOutputFile Include =" $(OutputPath)Microsoft.AspNetCore.Identity.UI.Views.V4.dll" />
41
- </ItemGroup >
42
-
43
- <Error Text =" Unable to find precompiled view file %(ExpectedOutputFile.Identity)"
44
- Condition =" !Exists('%(ExpectedOutputFile.Identity)')" />
45
- </Target >
46
-
47
27
</Project >
You can’t perform that action at this time.
0 commit comments