| Author |
Message |
Uniwares_AS
Joined: 11 Oct 2007 Posts: 132
|
Posted: Wed Mar 23, 2011 3:20 pm Post subject: Tip: you MUST restart VS after upgrading SA |
|
|
| Otherwise it will continue to use the old SA MSBuild task, no matter how much you change the version in the .targets file. |
|
| Back to top |
|
 |
Uniwares_AS
Joined: 11 Oct 2007 Posts: 132
|
Posted: Wed Mar 23, 2011 6:17 pm Post subject: |
|
|
| And if you have SA5 and SA6 side-by-side installed, then you need to restart VisualStudio everytime you want it to use one or the other build task, seems the first one loaded remains loaded for the rest of the app lifetime, independent of project settings. |
|
| Back to top |
|
 |
Chris.Allen
Joined: 12 Mar 2009 Posts: 443
|
Posted: Fri Mar 25, 2011 2:34 pm Post subject: |
|
|
| Thanks- the heads-up is very much appreciated. I am asking our guys what is happening here... |
|
| Back to top |
|
 |
Alex.Davies
Joined: 02 Dec 2008 Posts: 335 Location: Cambridge, uk
|
Posted: Fri Mar 25, 2011 2:38 pm Post subject: |
|
|
Yeah, Visual Studio has a limitation where it doesn't detect changes in .targets files in the same way that it does for .csproj files. I've been annoyed by it before.
Having said that, it loads SmartAssembly.exe into the memory of VS when you first use it, so if you've already run a build, the installer should complain that it can't do the install unless you close VS. _________________ Alex
Developer,
Red Gate .NET Tools |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group