C
Chuck P
I have a web deployment project with the following msbuild code.
<Target Name="AfterBuild">
<Exec WorkingDirectory="$(OutputPath)"
Command="$(MSBuildBinPath)\aspnet_regiis.exe -pef connectionStrings
$(OutputPath) -prov HrCustomProvider" />
<RemoveDir Directories="$(OutputPath)/ConfigFiles" />
</Target>
The MSBuildPath points to the 3.5 directory. However in 3.+ the
aspnet_regiis.exe is still in the 2.0 directory. How can I make this work
for 3.5 projects?
<Target Name="AfterBuild">
<Exec WorkingDirectory="$(OutputPath)"
Command="$(MSBuildBinPath)\aspnet_regiis.exe -pef connectionStrings
$(OutputPath) -prov HrCustomProvider" />
<RemoveDir Directories="$(OutputPath)/ConfigFiles" />
</Target>
The MSBuildPath points to the 3.5 directory. However in 3.+ the
aspnet_regiis.exe is still in the 2.0 directory. How can I make this work
for 3.5 projects?