Skip to content

Instantly share code, notes, and snippets.

@zippy1981
Created July 12, 2012 14:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zippy1981/3098599 to your computer and use it in GitHub Desktop.
Save zippy1981/3098599 to your computer and use it in GitHub Desktop.
SQL Stored Proc MSBuild Deploy Windmill tilting
A list of links and notes related to my current MSBuild quest.
I built a simple CLR Proc to call a web service method. This was the start of my problems. SQL gave specific error messages about adding WCF related assemblies. So I used a web reference. I then got an error message about not being able to automatically generate the serialization assembly at runtime. To fix this, I had Visual Studio create one at compile time. However, it was not automatically deployed. I was unsatisfied with using the post desploy sql script to add this assembly because I had to hard code the path. I wanted someting that would work on all machines.
I came up with a solution that works on Visual Studio 2010 by editing the csproj file manually. I need to make it better.
I'd like to get this to work in Visual Studio 2008.
So far I'm trying to do this:
devenv foo.sln /deploy /project foo.SqlCaller /log foo.SqlCaller.deploy.log
However, Its not writing a log now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment