<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>specsharp Wiki &amp; Documentation Rss Feed</title><link>http://specsharp.codeplex.com/Wiki/View.aspx?title=Home</link><description>specsharp Wiki Rss Description</description><item><title>Updated Wiki: Documentation</title><link>http://specsharp.codeplex.com/documentation?version=1</link><description>&lt;div class="wikidoc"&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://specsharp.codeplex.com/"&gt;See the home page&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>alexanderjsummers</author><pubDate>Mon, 24 Sep 2012 21:04:48 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Documentation 20120924090448P</guid></item><item><title>New Comment on "Binaries"</title><link>http://specsharp.codeplex.com/wikipage?title=Binaries&amp;ANCHOR#C25073</link><description>What about Spec&amp;#35; plugin for Visual Studio 2012 &amp;#63;</description><author>aeterna426</author><pubDate>Sun, 23 Sep 2012 20:29:35 GMT</pubDate><guid isPermaLink="false">New Comment on "Binaries" 20120923082935P</guid></item><item><title>New Comment on "Binaries"</title><link>http://specsharp.codeplex.com/wikipage?title=Binaries&amp;ANCHOR#C23960</link><description>&amp;#64;wuestholz&amp;#58; Thank you very much, you were right, I installed MSVS 2010 Premium and it works&amp;#33; I completely overlooked the forum.&amp;#10;&amp;#10;Maybe this should be written above in the steps&amp;#58; Spec&amp;#35; does not work in Express edition.</description><author>mjiricka</author><pubDate>Tue, 05 Jun 2012 20:57:28 GMT</pubDate><guid isPermaLink="false">New Comment on "Binaries" 20120605085728P</guid></item><item><title>New Comment on "Binaries"</title><link>http://specsharp.codeplex.com/wikipage?title=Binaries&amp;ANCHOR#C23929</link><description>&amp;#64;mjiricka&amp;#58; I assume that you need VS 2010 Professional. See the following thread&amp;#58; http&amp;#58;&amp;#47;&amp;#47;specsharp.codeplex.com&amp;#47;discussions&amp;#47;267520.</description><author>wuestholz</author><pubDate>Sun, 03 Jun 2012 18:51:58 GMT</pubDate><guid isPermaLink="false">New Comment on "Binaries" 20120603065158P</guid></item><item><title>New Comment on "Binaries"</title><link>http://specsharp.codeplex.com/wikipage?title=Binaries&amp;ANCHOR#C23922</link><description>I would like to try Spec&amp;#35;. I downloaded the latest recommended nightly build &amp;#40;sscboogie-nightly_rev219e6b40fa91_2012-06-02 09&amp;#58;01.zip&amp;#41;, followed the steps &amp;#40;got three &amp;#34;Types registered successfully&amp;#34;&amp;#41; but no new project type appeared in my MSVS Express 2010. I have Z3 in version 2.15.&amp;#10;&amp;#10;I have no idea what to do next... Maybe somebody can help&amp;#63;</description><author>mjiricka</author><pubDate>Sat, 02 Jun 2012 20:59:30 GMT</pubDate><guid isPermaLink="false">New Comment on "Binaries" 20120602085930P</guid></item><item><title>New Comment on "Binaries"</title><link>http://specsharp.codeplex.com/wikipage?title=Binaries&amp;ANCHOR#C23921</link><description>I wanted to install the latest recommended nightly build &amp;#40;sscboogie-nightly_rev219e6b40fa91_2012-06-02 09&amp;#58;01.zip&amp;#41;, followed the steps &amp;#40;got three &amp;#34;Types registered successfully&amp;#34;&amp;#41; but no new project type appeared in my MSVS Express 2010.&amp;#10;&amp;#10;I have Z3 in version 4.0 but I didn&amp;#39;t get any exception. But I guess this is completely unreletated to my installation problem.&amp;#10;&amp;#10;Any idea what I am doing wrong&amp;#63; Thanks&amp;#33;</description><author>mjiricka</author><pubDate>Sat, 02 Jun 2012 20:50:11 GMT</pubDate><guid isPermaLink="false">New Comment on "Binaries" 20120602085011P</guid></item><item><title>New Comment on "Binaries"</title><link>http://specsharp.codeplex.com/wikipage?title=Binaries&amp;ANCHOR#C22442</link><description>For installation, make sure to unblock BoogiePlugin.dll and Provers.Z3.dll, also Z3 must be 2.15 &amp;#40;it complained about an exception when I was using Z3 3.2&amp;#41;.</description><author>EdgarPek</author><pubDate>Fri, 03 Feb 2012 18:58:49 GMT</pubDate><guid isPermaLink="false">New Comment on "Binaries" 20120203065849P</guid></item><item><title>New Comment on "Binaries"</title><link>http://specsharp.codeplex.com/wikipage?title=Binaries&amp;ANCHOR#C21993</link><description>Hello&amp;#33;&amp;#10;I have the same issue as akku &amp;#40;from Jul 2 at 11&amp;#58;34 AM&amp;#41; - I&amp;#39;m running VS 2010 Ultimate and won&amp;#39;t get it work. What can I do to solve the issue &amp;#47; contribute a usable bug report&amp;#63;&amp;#10;Thanx.</description><author>rindPHI</author><pubDate>Wed, 21 Dec 2011 10:07:08 GMT</pubDate><guid isPermaLink="false">New Comment on "Binaries" 20111221100708A</guid></item><item><title>Updated Wiki: Sources</title><link>http://specsharp.codeplex.com/wikipage?title=Sources&amp;version=27</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;How to install and build the sources&lt;/h1&gt;
&lt;h2&gt;Install and Build for Visual Studio 2010&lt;/h2&gt;
After downloading the sources via the &amp;quot;Source Code&amp;quot; tab, check to make sure you have any  &lt;a href="http://specsharp.codeplex.com/wikipage?title=External&amp;referringTitle=Sources"&gt;External Dependencies&lt;/a&gt; that you need. Then use the following directions for the program(s) you want to build. Some of them have extra dependencies. Note:
&lt;ul&gt;&lt;li&gt;Some users have reported problems when working under cygwin due to unexpected access permissions and file ownership; we strongly recommend using the Visual Studio 2010 Command Prompt.&lt;/li&gt;&lt;/ul&gt;

&lt;h3&gt;Spec#&lt;/h3&gt;
&lt;ol&gt;&lt;li&gt;Navigate to the &lt;span class="codeInline"&gt;SpecSharp\Microsoft.SpecSharp\LastKnownGood10&lt;/span&gt; directory. Execute &lt;span class="codeInline"&gt;Clean.cmd&lt;/span&gt; and &lt;span class="codeInline"&gt;RegisterLKG.cmd&lt;/span&gt;. You will need to have Administrator privileges in order to execute these scripts, and you need &lt;span class="codeInline"&gt;regasm.exe&lt;/span&gt; on your path (you may need to right-click on the Visual Studio 2010 Command Prompt and select Run as Administrator). This registers the Spec# compiler that comes in the &lt;span class="codeInline"&gt;LastKnownGood10&lt;/span&gt; directory with Visual Studio so that Spec# projects can be loaded into Visual Studio and built. Some of the projects in the compiler are Spec# projects: the compiler is partially boot-strapped. If you get errors saying that RegAsm could not load a dll, try unblocking that dll (right-click the file ==&amp;gt; Properties ==&amp;gt; Unblock).&lt;/li&gt;
&lt;li&gt;Open up &lt;span class="codeInline"&gt;SpecSharp.sln&lt;/span&gt; in Visual Studio 2010 and build the &amp;quot;Debug&amp;quot; configuration (which should be selected by default). Right click on the &amp;quot;Checkin Tests&amp;quot; project and build it to make sure the regressions pass.&lt;/li&gt;
&lt;li&gt;The previous step builds a new version of the Spec# binaries. If you want to register the new version with Visual Studio, then you should close the Visual Studio IDE, and (using a command prompt with administrator privileges) navigate to the &lt;span class="codeInline"&gt;SpecSharp\Microsoft.SpecSharp\Registration&lt;/span&gt; directory. Execute &lt;span class="codeInline"&gt;RegisterCurrent.cmd&lt;/span&gt; to register your new version with Visual Studio. If you want to deregister this version, execute the &lt;span class="codeInline"&gt;Clean.cmd&lt;/span&gt; script in this directory.&lt;/li&gt;
&lt;li&gt;If your registered version of Spec# becomes unusable in VisualStudio for any reason, you can try deregistering and registering it again, by repeating (with Visual Studio closed) either step 1 (to go back to the bootstrap version) or step 3 (for your currently-compiled version) above.&lt;/li&gt;
&lt;li&gt;Note that to run the Spec# verifier with a new version, you need to build SscBoogie, as described below.&lt;/li&gt;&lt;/ol&gt;

&lt;h3&gt;SscBoogie (after successfully building Spec#)&lt;/h3&gt;
&lt;ol&gt;&lt;li&gt;Navigate to the &lt;span class="codeInline"&gt;SscBoogie\Binaries&lt;/span&gt; directory, and edit the definition of variable &lt;span class="codeInline"&gt;BOOGIEROOT&lt;/span&gt; in &lt;span class="codeInline"&gt;Makefile&lt;/span&gt; to point to your Boogie installation. If you didn&amp;#39;t build into the Registration directory in the steps for building Spec# above, then you will also need to change the variable &lt;span class="codeInline"&gt;REG_DIR&lt;/span&gt; to point to your &lt;span class="codeInline"&gt;LastKnownGood10&lt;/span&gt; directory.  Then, type &lt;span class="codeInline"&gt;nmake&lt;/span&gt; at a command prompt (this makes local copies of various needed Spec# binaries).&lt;/li&gt;
&lt;li&gt;In the &lt;span class="codeInline"&gt;SscBoogie\Source&lt;/span&gt; directory, either open &lt;span class="codeInline"&gt;SscBoogie.sln&lt;/span&gt; in Visual Studio and build the Debug configuration, or from a command prompt type &lt;span class="codeInline"&gt;devenv SscBoogie.sln /build Debug&lt;/span&gt;.&lt;/li&gt;
&lt;li&gt;In the &lt;span class="codeInline"&gt;SscBoogie\Test&lt;/span&gt; directory, execute &lt;span class="codeInline"&gt;runtestall.bat&lt;/span&gt;. Let us know if something doesn&amp;#39;t succeed!&lt;/li&gt;
&lt;li&gt;Go back to the &lt;span class="codeInline"&gt;SscBoogie\Binaries&lt;/span&gt; directory and type &lt;span class="codeInline"&gt;nmake register&lt;/span&gt; at the command prompt (this copies the binaries for the verifier back to where Spec# can find them).&lt;/li&gt;&lt;/ol&gt;

&lt;h2&gt;Install and Build for Visual Studio 2008 (not officially supported anymore)&lt;/h2&gt;
If you have the option, we strongly recommend using Visual Studio 2010, since this is the version Spec# is currently developed and tested with. However, if you need to compile with 2008, you can follow the same instructions above, after making the following change. For each of the following three files, find the two occurrences of &amp;quot;;DEV10&amp;quot; (which should be within &amp;quot;DefineConstants&amp;quot; tags), and delete them (just the DEV10 - leave the other constants there): &lt;span class="codeInline"&gt;SpecSharp/Microsoft.VisualStudio.CodeTools/PropertyPage/PropertyPage.csproj&lt;/span&gt;, &lt;span class="codeInline"&gt;SpecSharp/Microsoft.VisualStudio.CodeTools/TaskManager/TaskManager.csproj&lt;/span&gt;, &lt;span class="codeInline"&gt;SpecSharp/Microsoft.VisualStudio.Package/Microsoft.VisualStudio.Package.csproj&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>rustanleino</author><pubDate>Wed, 16 Nov 2011 02:23:12 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Sources 20111116022312A</guid></item><item><title>Updated Wiki: Binaries</title><link>http://specsharp.codeplex.com/wikipage?title=Binaries&amp;version=7</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;NOTE&lt;/b&gt;: if you downloaded the sources, you do not need to download the binary distribution -- the source distribution contains a bootstrapping compiler.&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;If you have Spec# installed from the &lt;a href="http://research.microsoft.com/research/downloads/details/8826adb9-8398-40d6-a22d-951923fe2647/details.aspx" class="externalLink"&gt;MSR Downloads site&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;, please uninstall it.&lt;/li&gt;
&lt;li&gt;Go to the &amp;quot;Downloads&amp;quot; tab and click on the current release to download a zip file containing all of the binaries you need to just run Spec#.&lt;/li&gt;
&lt;li&gt;Open a Visual Studio 2010 command prompt and navigate to the directory into which you unzipped the binaries. You will need to open that command prompt with administrator privileges (right click and select Run as Administrator).&lt;/li&gt;
&lt;li&gt;Execute the command &lt;span class="codeInline"&gt;register.cmd&lt;/span&gt;. You should see three messages telling you that the types have been registered successfully. This means that Visual Studio now knows what a Spec# project is and how to build it. If you get errors saying that RegAsm could not load a dll, try unblocking that dll (right-click the file ==&amp;gt; Properties ==&amp;gt; Unblock).&lt;/li&gt;
&lt;li&gt;If you want to run the program verifier (SscBoogie), you will also need to &lt;a href="http://research.microsoft.com/projects/z3" class="externalLink"&gt;install Z3&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;. We strongly recommend you to install version 2.15.&lt;/li&gt;
&lt;li&gt;If you have &lt;a href="http://research.microsoft.com/contracts" class="externalLink"&gt;Code Contracts&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; installed (as every man, woman, and child on this planet ought), then you &lt;i&gt;may&lt;/i&gt; get some warning dialogs when you open Visual Studio 2010 on Spec# projects.  The fix is then to install Spec# before installing Code Contracts, so: uninstall Code Contracts, do the &lt;span class="codeInline"&gt;register.cmd&lt;/span&gt; step above, and then re-install Code Contracts.&lt;/li&gt;&lt;/ol&gt;
&lt;br /&gt;Please let us know if something doesn&amp;#39;t work!&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>wuestholz</author><pubDate>Thu, 13 Oct 2011 20:51:41 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Binaries 20111013085141P</guid></item><item><title>Updated Wiki: Sources</title><link>http://specsharp.codeplex.com/wikipage?title=Sources&amp;version=26</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;How to install and build the sources&lt;/h1&gt;
&lt;h2&gt;Install and Build for Visual Studio 2010&lt;/h2&gt;
After downloading the sources via the &amp;quot;Source Code&amp;quot; tab, check to make sure you have any  &lt;a href="http://specsharp.codeplex.com/wikipage?title=External&amp;referringTitle=Sources"&gt;External Dependencies&lt;/a&gt; that you need. Then use the following directions for the program(s) you want to build. Some of them have extra dependencies. Note:
&lt;ul&gt;&lt;li&gt;Some users have reported problems when working under cygwin due to unexpected access permissions and file ownership; we strongly recommend using the Visual Studio 2010 Command Prompt.&lt;/li&gt;&lt;/ul&gt;

&lt;h3&gt;Spec#&lt;/h3&gt;
&lt;ol&gt;&lt;li&gt;Navigate to the &lt;span class="codeInline"&gt;SpecSharp\Microsoft.SpecSharp\LastKnownGood10&lt;/span&gt; directory. Execute &lt;span class="codeInline"&gt;Clean.cmd&lt;/span&gt; and &lt;span class="codeInline"&gt;RegisterLKG.cmd&lt;/span&gt;. You will need to have Administrator privileges in order to execute these scripts, and you need &lt;span class="codeInline"&gt;regasm.exe&lt;/span&gt; on your path (you may need to right-click on the Visual Studio 2010 Command Prompt and select Run as Administrator). This registers the Spec# compiler that comes in the &lt;span class="codeInline"&gt;LastKnownGood10&lt;/span&gt; directory with Visual Studio so that Spec# projects can be loaded into Visual Studio and built. Some of the projects in the compiler are Spec# projects: the compiler is partially boot-strapped. If you get errors saying that RegAsm could not load a dll, try unblocking that dll (right-click the file ==&amp;gt; Properties ==&amp;gt; Unblock).&lt;/li&gt;
&lt;li&gt;Open up &lt;span class="codeInline"&gt;SpecSharp.sln&lt;/span&gt; in Visual Studio 2010 and build the &amp;quot;Debug&amp;quot; configuration (which should be selected by default). Right click on the &amp;quot;Checkin Tests&amp;quot; project and build it to make sure the regressions pass.&lt;/li&gt;
&lt;li&gt;The previous step builds a new version of the Spec# binaries. If you want to register the new version with Visual Studio, then you should close the Visual Studio IDE, and (using a command prompt with administrator privileges) navigate to the &lt;span class="codeInline"&gt;SpecSharp\Microsoft.SpecSharp\Registration&lt;/span&gt; directory. Execute &lt;span class="codeInline"&gt;RegisterCurrent.cmd&lt;/span&gt; to register your new version with Visual Studio. If you want to deregister this version, execute the &lt;span class="codeInline"&gt;Clean.cmd&lt;/span&gt; script in this directory.&lt;/li&gt;
&lt;li&gt;If your registered version of Spec# becomes unusable in VisualStudio for any reason, you can try deregistering and registering it again, by repeating (with Visual Studio closed) either step 1 (to go back to the bootstrap version) or step 3 (for your currently-compiled version) above.&lt;/li&gt;
&lt;li&gt;Note that to run the Spec# verifier with a new version, you need to build SscBoogie, as described below.&lt;/li&gt;&lt;/ol&gt;

&lt;h3&gt;SscBoogie (after successfully building Spec#)&lt;/h3&gt;
&lt;ol&gt;&lt;li&gt;Navigate to the &lt;span class="codeInline"&gt;SscBoogie\Binaries&lt;/span&gt; directory, and edit the definition of variable &lt;span class="codeInline"&gt;BOOGIEROOT&lt;/span&gt; in &lt;span class="codeInline"&gt;Makefile&lt;/span&gt; to point to your Boogie installation. Type &lt;span class="codeInline"&gt;nmake&lt;/span&gt; at a command prompt (this makes local copies of various needed Spec# binaries).&lt;/li&gt;
&lt;li&gt;In the &lt;span class="codeInline"&gt;SscBoogie\Source&lt;/span&gt; directory, either open &lt;span class="codeInline"&gt;SscBoogie.sln&lt;/span&gt; in Visual Studio and build the Debug configuration, or from a command prompt type &lt;span class="codeInline"&gt;devenv SscBoogie.sln /build Debug&lt;/span&gt;.&lt;/li&gt;
&lt;li&gt;In the &lt;span class="codeInline"&gt;SscBoogie\Test&lt;/span&gt; directory, execute &lt;span class="codeInline"&gt;runtestall.bat&lt;/span&gt;. Let us know if something doesn&amp;#39;t succeed!&lt;/li&gt;
&lt;li&gt;Go back to the &lt;span class="codeInline"&gt;SscBoogie\Binaries&lt;/span&gt; directory and type &lt;span class="codeInline"&gt;nmake register&lt;/span&gt; at the command prompt (this copies the binaries for the verifier back to where Spec# can find them).&lt;/li&gt;&lt;/ol&gt;

&lt;h2&gt;Install and Build for Visual Studio 2008 (not officially supported anymore)&lt;/h2&gt;
If you have the option, we strongly recommend using Visual Studio 2010, since this is the version Spec# is currently developed and tested with. However, if you need to compile with 2008, you can follow the same instructions above, after making the following change. For each of the following three files, find the two occurrences of &amp;quot;;DEV10&amp;quot; (which should be within &amp;quot;DefineConstants&amp;quot; tags), and delete them (just the DEV10 - leave the other constants there): &lt;span class="codeInline"&gt;SpecSharp/Microsoft.VisualStudio.CodeTools/PropertyPage/PropertyPage.csproj&lt;/span&gt;, &lt;span class="codeInline"&gt;SpecSharp/Microsoft.VisualStudio.CodeTools/TaskManager/TaskManager.csproj&lt;/span&gt;, &lt;span class="codeInline"&gt;SpecSharp/Microsoft.VisualStudio.Package/Microsoft.VisualStudio.Package.csproj&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>wuestholz</author><pubDate>Thu, 13 Oct 2011 20:49:33 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Sources 20111013084933P</guid></item><item><title>Updated Wiki: Binaries</title><link>http://specsharp.codeplex.com/wikipage?title=Binaries&amp;version=6</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;NOTE&lt;/b&gt;: if you downloaded the sources, you do not need to download the binary distribution--the source distribution contains a bootstrapping compiler.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;If you have Spec# installed from the &lt;a href="http://research.microsoft.com/research/downloads/details/8826adb9-8398-40d6-a22d-951923fe2647/details.aspx" class="externalLink"&gt;MSR Downloads site&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;, please uninstall it.&lt;/li&gt;&lt;/ul&gt;

&lt;ul&gt;&lt;li&gt;Go to the &amp;quot;Downloads&amp;quot; tab and click on the current release to download a zip file containing all of the binaries you need to just run Spec#.&lt;/li&gt;&lt;/ul&gt;

&lt;ul&gt;&lt;li&gt;Open a Visual Studio 2010 command prompt and navigate to the directory into which you unzipped the binaries. You will need to open that command prompt with administrator privileges (right click and select Run as Administrator).&lt;/li&gt;&lt;/ul&gt;

&lt;ul&gt;&lt;li&gt;Execute the command &lt;span class="codeInline"&gt;register.cmd&lt;/span&gt;. You should see three messages telling you that the types have been registered successfully. This means that Visual Studio now knows what a Spec# project is and how to build it. If you get errors saying that RegAsm could not load a dll, try unblocking that dll (right-click the file ==&amp;gt; Properties ==&amp;gt; Unblock).&lt;/li&gt;&lt;/ul&gt;

&lt;ul&gt;&lt;li&gt;If you want to run the program verifier (SscBoogie), you will also need to &lt;a href="http://research.microsoft.com/projects/z3" class="externalLink"&gt;install Z3&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;. We strongly recommend you to install version 2.15.&lt;/li&gt;&lt;/ul&gt;

&lt;ul&gt;&lt;li&gt;If you have &lt;a href="http://research.microsoft.com/contracts" class="externalLink"&gt;Code Contracts&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; installed (as every man, woman, and child on this planet ought), then you &lt;i&gt;may&lt;/i&gt; get some warning dialogs when you open Visual Studio 2010 on Spec# projects.  The fix is then to install Spec# before installing Code Contracts, so: uninstall Code Contracts, do the &lt;span class="codeInline"&gt;register.cmd&lt;/span&gt; step above, and then re-install Code Contracts.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;Please let us know if something doesn&amp;#39;t work!&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>wuestholz</author><pubDate>Fri, 07 Oct 2011 08:34:52 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Binaries 20111007083452A</guid></item><item><title>Updated Wiki: External</title><link>http://specsharp.codeplex.com/wikipage?title=External&amp;version=6</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;External Dependencies&lt;/h1&gt;
&lt;h2&gt;Spec#&lt;/h2&gt;
&lt;h3&gt;Things you must have in order to build Spec#&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;Visual Studio 2010&lt;/b&gt;: Spec# is meant to be built by Visual Studio, not via makefiles. You should have at least C# and C++ installed as supported languages in Visual Studio: there are both types of projects in the Spec# solution.&lt;/li&gt;&lt;/ul&gt;

&lt;h2&gt;SscBoogie&lt;/h2&gt;
&lt;h3&gt;Things you must have in order to build SscBoogie&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;Spec#&lt;/b&gt;: SscBoogie is written in Spec#, so you need a Spec# compiler in order to build it. You can either download the &lt;a href="http://research.microsoft.com/research/downloads/details/8826adb9-8398-40d6-a22d-951923fe2647/details.aspx" class="externalLink"&gt;Spec# binary distribution&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; or else enlist in the &lt;a href="http://www.specsharp.codeplex.com" class="externalLink"&gt;Spec# CodePlex&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Boogie&lt;/b&gt;: SscBoogie depends on Boogie itself. If you installed the Spec# binary distribution, then you can use the Boogie binaries that come with that. Or you can get Boogie from the &lt;a href="http://boogie.codeplex.com" class="externalLink"&gt;Boogie CodePlex project&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;. From that site you can either install the binaries or download the sources and build it yourself.&lt;/li&gt;&lt;/ul&gt;

&lt;h3&gt;Things you need in order to run SscBoogie&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;Z3&lt;/b&gt;: SscBoogie uses Boogie and its default is to generate verification conditions for &lt;a href="http://research.microsoft.com/en-us/um/redmond/projects/z3/" class="externalLink"&gt;Z3&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;. Other theorem provers can also be used, e.g., &lt;a href="http://kind.ucd.ie/products/opensource/Simplify/" class="externalLink"&gt;Simplify&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;. You will need some theorem prover that Boogie produces output for if you wish to actually find out whether a Spec# program is correct or not.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>wuestholz</author><pubDate>Fri, 07 Oct 2011 08:11:51 GMT</pubDate><guid isPermaLink="false">Updated Wiki: External 20111007081151A</guid></item><item><title>Updated Wiki: Sources</title><link>http://specsharp.codeplex.com/wikipage?title=Sources&amp;version=25</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;How to install and build the sources&lt;/h1&gt;
&lt;h2&gt;Install and Build for Visual Studio 2010&lt;/h2&gt;
After downloading the sources via the &amp;quot;Source Code&amp;quot; tab, check to make sure you have any  &lt;a href="http://specsharp.codeplex.com/wikipage?title=External&amp;referringTitle=Sources"&gt;External Dependencies&lt;/a&gt; that you need. Then use the following directions for the program(s) you want to build. Some of them have extra dependencies. Note:
&lt;ul&gt;&lt;li&gt;Some users have reported problems when working under cygwin due to unexpected access permissions and file ownership; we strongly recommend using the Visual Studio 2010 Command Prompt.&lt;/li&gt;&lt;/ul&gt;

&lt;h3&gt;Spec#&lt;/h3&gt;
&lt;ol&gt;&lt;li&gt;Navigate to the &lt;span class="codeInline"&gt;SpecSharp\Microsoft.SpecSharp\LastKnownGood10&lt;/span&gt; directory. Execute &lt;span class="codeInline"&gt;Clean.cmd&lt;/span&gt; and &lt;span class="codeInline"&gt;RegisterLKG.cmd&lt;/span&gt;. You will need to have Administrator privileges in order to execute these scripts, and you need &lt;span class="codeInline"&gt;regasm.exe&lt;/span&gt; on your path (you may need to right-click on the Visual Studio 2010 Command Prompt and select Run as Administrator). This registers the Spec# compiler that comes in the &lt;span class="codeInline"&gt;LastKnownGood10&lt;/span&gt; directory with Visual Studio so that Spec# projects can be loaded into Visual Studio and built. Some of the projects in the compiler are Spec# projects: the compiler is partially boot-strapped. If you get errors saying that RegAsm could not load a dll, try unblocking that dll (right-click the file ==&amp;gt; Properties ==&amp;gt; Unblock).&lt;/li&gt;&lt;/ol&gt;

&lt;ol&gt;&lt;li&gt;Open up &lt;span class="codeInline"&gt;SpecSharp.sln&lt;/span&gt; in Visual Studio 2010 and build the &amp;quot;Debug&amp;quot; configuration (which should be selected by default). Right click on the &amp;quot;Checkin Tests&amp;quot; project and build it to make sure the regressions pass (one of the regression tests fails if the language of your Windows installation is not English; just ignore that test case).&lt;/li&gt;&lt;/ol&gt;

&lt;ol&gt;&lt;li&gt;The previous step builds a new version of the Spec# binaries. If you want to register the new version with Visual Studio, then you should close the Visual Studio IDE, and (using a command prompt with administrator privileges) navigate to the &lt;span class="codeInline"&gt;SpecSharp\Microsoft.SpecSharp\Registration&lt;/span&gt; directory. Execute &lt;span class="codeInline"&gt;RegisterCurrent.cmd&lt;/span&gt; to register your new version with Visual Studio. If you want to deregister this version, execute the &lt;span class="codeInline"&gt;Clean.cmd&lt;/span&gt; script in this directory.&lt;/li&gt;&lt;/ol&gt;

&lt;ol&gt;&lt;li&gt;If your registered version of Spec# becomes unusable in VisualStudio for any reason, you can try deregistering and registering it again, by repeating (with Visual Studio closed) either step 1 (to go back to the bootstrap version) or step 3 (for your currently-compiled version) above.&lt;/li&gt;&lt;/ol&gt;

&lt;ol&gt;&lt;li&gt;Note that to run the Spec# verifier with a new version, you need to build SscBoogie, as described below.&lt;/li&gt;&lt;/ol&gt;

&lt;h3&gt;SscBoogie (after successfully building Spec#)&lt;/h3&gt;
&lt;ol&gt;&lt;li&gt;Navigate to the &lt;span class="codeInline"&gt;SscBoogie\Binaries&lt;/span&gt; directory, and edit the definition of variable &lt;span class="codeInline"&gt;BOOGIEROOT&lt;/span&gt; in &lt;span class="codeInline"&gt;Makefile&lt;/span&gt; to point to your Boogie installation. Type &lt;span class="codeInline"&gt;nmake&lt;/span&gt; at a command prompt (this makes local copies of various needed Spec# binaries).&lt;/li&gt;&lt;/ol&gt;

&lt;ol&gt;&lt;li&gt;In the &lt;span class="codeInline"&gt;SscBoogie\Source&lt;/span&gt; directory, either open &lt;span class="codeInline"&gt;SscBoogie.sln&lt;/span&gt; in Visual Studio and build the Debug configuration, or from a command prompt type &lt;span class="codeInline"&gt;devenv SscBoogie.sln /build Debug&lt;/span&gt;.&lt;/li&gt;&lt;/ol&gt;

&lt;ol&gt;&lt;li&gt;In the &lt;span class="codeInline"&gt;SscBoogie\Test&lt;/span&gt; directory, execute &lt;span class="codeInline"&gt;runtestall.bat&lt;/span&gt;. Let us know if something doesn&amp;#39;t succeed!&lt;/li&gt;&lt;/ol&gt;

&lt;ol&gt;&lt;li&gt;Go back to the &lt;span class="codeInline"&gt;SscBoogie\Binaries&lt;/span&gt; directory and type &lt;span class="codeInline"&gt;nmake register&lt;/span&gt; at the command prompt (this copies the binaries for the verifier back to where Spec# can find them).&lt;/li&gt;&lt;/ol&gt;

&lt;h2&gt;Install and Build for Visual Studio 2008 (not officially supported anymore)&lt;/h2&gt;
If you have the option, we strongly recommend using Visual Studio 2010, since this is the version Spec# is currently developed and tested with. However, if you need to compile with 2008, you can follow the same instructions above, after making the following change. For each of the following three files, find the two occurrences of &amp;quot;;DEV10&amp;quot; (which should be within &amp;quot;DefineConstants&amp;quot; tags), and delete them (just the DEV10 - leave the other constants there): &lt;span class="codeInline"&gt;SpecSharp/Microsoft.VisualStudio.CodeTools/PropertyPage/PropertyPage.csproj&lt;/span&gt;, &lt;span class="codeInline"&gt;SpecSharp/Microsoft.VisualStudio.CodeTools/TaskManager/TaskManager.csproj&lt;/span&gt;, &lt;span class="codeInline"&gt;SpecSharp/Microsoft.VisualStudio.Package/Microsoft.VisualStudio.Package.csproj&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>wuestholz</author><pubDate>Fri, 07 Oct 2011 08:10:11 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Sources 20111007081011A</guid></item><item><title>Updated Wiki: Sources</title><link>http://specsharp.codeplex.com/wikipage?title=Sources&amp;version=24</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;How to install and build the sources &lt;/h1&gt;
&lt;h2&gt;Install and Build for Visual Studio 2010 (for 2008, see remarks below)&lt;/h2&gt;
After downloading the sources via the &amp;quot;Source Code&amp;quot; tab, check to make sure you have any  &lt;a href="http://specsharp.codeplex.com/wikipage?title=External&amp;referringTitle=Sources"&gt;External Dependencies&lt;/a&gt; that you need. Then use the following directions for the program(s) you want to build. Some of them have extra dependencies. Note:
&lt;ul&gt;&lt;li&gt;Some users have reported problems when working under cygwin due to unexpected access permissions and file ownership; we strongly recommend using the Visual Studio 2010 Command Prompt.&lt;/li&gt;&lt;/ul&gt;

&lt;h3&gt;Spec#&lt;/h3&gt;
&lt;ol&gt;&lt;li&gt;Navigate to the SpecSharp\Microsoft.SpecSharp\LastKnownGood10 directory. Execute &amp;quot;Clean.cmd&amp;quot; and &amp;quot;RegisterLKG.cmd&amp;quot;. You will need to have Administrator privileges in order to execute these scripts, and you need regasm.exe on your path (you may need to right-click on the Visual Studio 2010 Command Prompt and select Run as Administrator). This registers the Spec# compiler that comes in the LastKnownGood10 directory with Visual Studio so that Spec# projects can be loaded into Visual Studio and built. Some of the projects in the compiler are Spec# projects: the compiler is partially boot-strapped.  If you get errors saying that RegAsm could not load a dll, try unblocking that dll (right-click the file ==&amp;gt; Properties ==&amp;gt; Unblock).&lt;/li&gt;
&lt;li&gt;Open up SpecSharp10.sln in Visual Studio 2010 and build the &amp;quot;Debug&amp;quot; configuration (which should be selected by default). Right click on the &amp;quot;Checkin Tests&amp;quot; project and build it to make sure the regressions pass (one of the regression tests fails if the language of your Windows installation is not English; just ignore that test case).&lt;/li&gt;
&lt;li&gt;The previous step builds a new version of the Spec# binaries. If you want to register the new version with Visual Studio, then you should close the Visual Studio IDE, and (using a command prompt with administrator privileges) navigate to the SpecSharp\Microsoft.SpecSharp\Registration directory. Execute &amp;quot;RegisterCurrent.cmd&amp;quot; to register your new version with Visual Studio. If you want to deregister this version, execute the &amp;quot;Clean.cmd&amp;quot; script in this directory.&lt;/li&gt;
&lt;li&gt;If your registered version of Spec# becomes unusable in VisualStudio for any reason, you can try deregistering and registering it again, by repeating (with Visual Studio closed) either step 1 (to go back to the bootstrap version) or step 3 (for your currently-compiled version) above.&lt;/li&gt;
&lt;li&gt;Note that to run the Spec# verifier with a new version, you need to build SscBoogie, as described below.&lt;/li&gt;&lt;/ol&gt;

&lt;h3&gt;SscBoogie (after successfully compiling Spec#)&lt;/h3&gt;
&lt;ol&gt;&lt;li&gt;Navigate to the SscBoogie\Binaries directory, and edit the definition of variable &lt;span class="codeInline"&gt;BOOGIEROOT&lt;/span&gt; in Makefile to point to your Boogie installation. Type &lt;span class="codeInline"&gt;nmake&lt;/span&gt; at a command prompt (this makes local copies of various needed Spec# binaries).&lt;/li&gt;
&lt;li&gt;In the SscBoogie\Source directory, either open SscBoogie10.sln in Visual Studio and build the Debug configuration, or from a command prompt type &lt;span class="codeInline"&gt;devenv SscBoogie10.sln /build Debug&lt;/span&gt;.&lt;/li&gt;
&lt;li&gt;In the SscBoogie\Test directory, execute runtestall.bat short. Let us know if something doesn&amp;#39;t succeed!&lt;/li&gt;
&lt;li&gt;Go back to the SscBoogie\Binaries directory and type &lt;span class="codeInline"&gt;nmake register&lt;/span&gt; at the command prompt (this copies the binaries for the verifier back to where Spec# can find them).&lt;/li&gt;&lt;/ol&gt;

&lt;h2&gt;Install and Build for Visual Studio 2008&lt;/h2&gt;
If you have the option, we strongly recommend using Visual Studio 2010, since this is the version Spec# is currently developed and tested with. However, if you need to compile with 2008, you can follow exactly the same instructions above, after making the following change. For each of the following three files, find the two occurrences of &amp;quot;;DEV10&amp;quot; (which should be within &amp;quot;DefineConstants&amp;quot; tags), and delete them (just the DEV10 - leave the other constants there): SpecSharp/Microsoft.VisualStudio.CodeTools/PropertyPage/PropertyPage.csproj   SpecSharp/Microsoft.VisualStudio.CodeTools/TaskManager/TaskManager.csproj   SpecSharp/Microsoft.VisualStudio.Package/Microsoft.VisualStudio.Package.csproj&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>mueller</author><pubDate>Wed, 28 Sep 2011 15:17:26 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Sources 20110928031726P</guid></item><item><title>Updated Wiki: Sources</title><link>http://specsharp.codeplex.com/wikipage?title=Sources&amp;version=23</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;How to install and build the sources &lt;/h1&gt;
&lt;h2&gt;Install and Build for Visual Studio 2010 (for 2008, see remarks below)&lt;/h2&gt;
After downloading the sources via the &amp;quot;Source Code&amp;quot; tab, check to make sure you have any  &lt;a href="http://specsharp.codeplex.com/wikipage?title=External&amp;referringTitle=Sources"&gt;External Dependencies&lt;/a&gt; that you need. Then use the following directions for the program(s) you want to build. Some of them have extra dependencies. Note:
&lt;ul&gt;&lt;li&gt;Some users have reported problems when working under cygwin due to unexpected access permissions and file ownership; we strongly recommend using the Visual Studio 2010 Command Prompt.&lt;/li&gt;&lt;/ul&gt;

&lt;h3&gt;Spec#&lt;/h3&gt;
&lt;ol&gt;&lt;li&gt;Navigate to the SpecSharp\Microsoft.SpecSharp\LastKnownGood10 directory. Execute &amp;quot;Clean.cmd&amp;quot; and &amp;quot;RegisterLKG.cmd&amp;quot;. You will need to have Administrator privileges in order to execute these scripts, and you need regasm.exe on your path (you may need to right-click on the Visual Studio 2010 Command Prompt and select Run as Administrator). This registers the Spec# compiler that comes in the LastKnownGood10 directory with Visual Studio so that Spec# projects can be loaded into Visual Studio and built. Some of the projects in the compiler are Spec# projects: the compiler is partially boot-strapped.  If you get errors saying that RegAsm could not load a dll, try unblocking that dll (right-click the file ==&amp;gt; Properties ==&amp;gt; Unblock).&lt;/li&gt;
&lt;li&gt;Open up SpecSharp10.sln in Visual Studio 2010 and build the &amp;quot;Debug&amp;quot; configuration (which should be selected by default). Right click on the &amp;quot;Checkin Tests&amp;quot; project and build it to make sure the regressions pass (one of the regression tests fails if the language of your Windows installation is not English; just ignore that test case).&lt;/li&gt;
&lt;li&gt;The previous step builds a new version of the Spec# binaries. If you want to register the new version with Visual Studio, then you should close the Visual Studio IDE, and (using a command prompt with administrator privileges) navigate to the SpecSharp\Microsoft.SpecSharp\Registration directory. Execute &amp;quot;RegisterCurrent.cmd&amp;quot; to register your new version with Visual Studio. If you want to deregister this version, execute the &amp;quot;Clean.cmd&amp;quot; script in this directory.&lt;/li&gt;
&lt;li&gt;If your registered version of Spec# becomes unusable in VisualStudio for any reason, you can try deregistering and registering it again, by repeating (with Visual Studio closed) either step 1 (to go back to the bootstrap version) or step 3 (for your currently-compiled version) above.&lt;/li&gt;
&lt;li&gt;Note that to run the Spec# verifier with a new version, you need to build SscBoogie, as described below.&lt;/li&gt;&lt;/ol&gt;

&lt;h3&gt;SscBoogie (after successfully compiling Spec#)&lt;/h3&gt;
&lt;ol&gt;&lt;li&gt;Navigate to the SscBoogie\Binaries directory, and edit the definition of variable &lt;span class="codeInline"&gt;BOOGIEROOT&lt;/span&gt; to point to your Boogie installation. Type &lt;span class="codeInline"&gt;nmake&lt;/span&gt; at a command prompt (this makes local copies of various needed Spec# binaries).&lt;/li&gt;
&lt;li&gt;In the SscBoogie\Source directory, either open SscBoogie10.sln in Visual Studio and build the Debug configuration, or from a command prompt type &lt;span class="codeInline"&gt;devenv SscBoogie10.sln /build Debug&lt;/span&gt;.&lt;/li&gt;
&lt;li&gt;In the SscBoogie\Test directory, execute runtestall.bat short. Let us know if something doesn&amp;#39;t succeed!&lt;/li&gt;
&lt;li&gt;Go back to the SscBoogie\Binaries directory and type &lt;span class="codeInline"&gt;nmake register&lt;/span&gt; at the command prompt (this copies the binaries for the verifier back to where Spec# can find them).&lt;/li&gt;&lt;/ol&gt;

&lt;h2&gt;Install and Build for Visual Studio 2008&lt;/h2&gt;
If you have the option, we strongly recommend using Visual Studio 2010, since this is the version Spec# is currently developed and tested with. However, if you need to compile with 2008, you can follow exactly the same instructions above, after making the following change. For each of the following three files, find the two occurrences of &amp;quot;;DEV10&amp;quot; (which should be within &amp;quot;DefineConstants&amp;quot; tags), and delete them (just the DEV10 - leave the other constants there): SpecSharp/Microsoft.VisualStudio.CodeTools/PropertyPage/PropertyPage.csproj   SpecSharp/Microsoft.VisualStudio.CodeTools/TaskManager/TaskManager.csproj   SpecSharp/Microsoft.VisualStudio.Package/Microsoft.VisualStudio.Package.csproj&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>mueller</author><pubDate>Mon, 26 Sep 2011 13:53:38 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Sources 20110926015338P</guid></item><item><title>Updated Wiki: Sources</title><link>http://specsharp.codeplex.com/wikipage?title=Sources&amp;version=22</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;How to install and build the sources &lt;/h1&gt;
&lt;h2&gt;Install and Build for Visual Studio 2010 (for 2008, see remarks below)&lt;/h2&gt;
After downloading the sources via the &amp;quot;Source Code&amp;quot; tab, check to make sure you have any  &lt;a href="http://specsharp.codeplex.com/wikipage?title=External&amp;referringTitle=Sources"&gt;External Dependencies&lt;/a&gt; that you need. Then use the following directions for the program(s) you want to build. Some of them have extra dependencies. Note:
&lt;ul&gt;&lt;li&gt;Some users have reported problems when working under cygwin due to unexpected access permissions and file ownership; we strongly recommend using the Visual Studio 2010 Command Prompt.&lt;/li&gt;&lt;/ul&gt;

&lt;h3&gt;Spec#&lt;/h3&gt;
&lt;ol&gt;&lt;li&gt;Navigate to the SpecSharp\Microsoft.SpecSharp\LastKnownGood10 directory. Execute &amp;quot;Clean.cmd&amp;quot; and &amp;quot;RegisterLKG.cmd&amp;quot;. You will need to have Administrator privileges in order to execute these scripts, and you need regasm.exe on your path (you may need to right-click on the Visual Studio 2010 Command Prompt and select Run as Administrator). This registers the Spec# compiler that comes in the LastKnownGood10 directory with Visual Studio so that Spec# projects can be loaded into Visual Studio and built. Some of the projects in the compiler are Spec# projects: the compiler is partially boot-strapped.  If you get errors saying that RegAsm could not load a dll, try unblocking that dll (right-click the file ==&amp;gt; Properties ==&amp;gt; Unblock).&lt;/li&gt;
&lt;li&gt;Open up SpecSharp10.sln in Visual Studio 2010 and build the &amp;quot;Debug&amp;quot; configuration (which should be selected by default). Right click on the &amp;quot;Checkin Tests&amp;quot; project and build it to make sure the regressions pass (one of the regression tests fails if the language of your Windows installation is not English; just ignore that test case).&lt;/li&gt;
&lt;li&gt;The previous step builds a new version of the Spec# binaries. If you want to register the new version with Visual Studio, then you should close the Visual Studio IDE, and (using a command prompt with administrator privileges) navigate to the SpecSharp\Microsoft.SpecSharp\Registration directory. Execute &amp;quot;RegisterCurrent.cmd&amp;quot; to register your new version with Visual Studio. If you want to deregister this version, execute the &amp;quot;Clean.cmd&amp;quot; script in this directory.&lt;/li&gt;
&lt;li&gt;If your registered version of Spec# becomes unusable in VisualStudio for any reason, you can try deregistering and registering it again, by repeating (with Visual Studio closed) either step 1 (to go back to the bootstrap version) or step 3 (for your currently-compiled version) above.&lt;/li&gt;
&lt;li&gt;Note that to run the Spec# verifier with a new version, you need to build SscBoogie, as described below.&lt;/li&gt;&lt;/ol&gt;

&lt;h3&gt;SscBoogie (after successfully compiling Spec#)&lt;/h3&gt;
&lt;ol&gt;&lt;li&gt;Navigate to the SscBoogie\Binaries directory, and type &lt;span class="codeInline"&gt;nmake&lt;/span&gt; at a command prompt (this makes local copies of various needed Spec# binaries).&lt;/li&gt;
&lt;li&gt;In the SscBoogie\Source directory, either open SscBoogie10.sln in Visual Studio and build the Debug configuration, or from a command prompt type &lt;span class="codeInline"&gt;devenv SscBoogie10.sln /build Debug&lt;/span&gt;.&lt;/li&gt;
&lt;li&gt;In the SscBoogie\Test directory, execute runtestall.bat short. Let us know if something doesn&amp;#39;t succeed!&lt;/li&gt;
&lt;li&gt;Go back to the SscBoogie\Binaries directory and type &lt;span class="codeInline"&gt;nmake register&lt;/span&gt; at the command prompt (this copies the binaries for the verifier back to where Spec# can find them).&lt;/li&gt;&lt;/ol&gt;

&lt;h2&gt;Install and Build for Visual Studio 2008&lt;/h2&gt;
If you have the option, we strongly recommend using Visual Studio 2010, since this is the version Spec# is currently developed and tested with. However, if you need to compile with 2008, you can follow exactly the same instructions above, after making the following change. For each of the following three files, find the two occurrences of &amp;quot;;DEV10&amp;quot; (which should be within &amp;quot;DefineConstants&amp;quot; tags), and delete them (just the DEV10 - leave the other constants there): SpecSharp/Microsoft.VisualStudio.CodeTools/PropertyPage/PropertyPage.csproj   SpecSharp/Microsoft.VisualStudio.CodeTools/TaskManager/TaskManager.csproj   SpecSharp/Microsoft.VisualStudio.Package/Microsoft.VisualStudio.Package.csproj&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>mueller</author><pubDate>Mon, 26 Sep 2011 13:51:05 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Sources 20110926015105P</guid></item><item><title>Updated Wiki: Sources</title><link>http://specsharp.codeplex.com/wikipage?title=Sources&amp;version=21</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;How to install and build the sources &lt;/h1&gt;
&lt;h2&gt;Install and Build for Visual Studio 2010 (for 2008, see remarks below)&lt;/h2&gt;
After downloading the sources via the &amp;quot;Source Code&amp;quot; tab, check to make sure you have any  &lt;a href="http://specsharp.codeplex.com/wikipage?title=External&amp;referringTitle=Sources"&gt;External Dependencies&lt;/a&gt; that you need. Then use the following directions for the program(s) you want to build. Some of them have extra dependencies. Note:
&lt;ul&gt;&lt;li&gt;Some users have reported problems when working under cygwin due to unexpected access permissions and file ownership; we strongly recommend using the Visual Studio 2010 Command Prompt.&lt;/li&gt;&lt;/ul&gt;

&lt;h3&gt;Spec#&lt;/h3&gt;
&lt;ol&gt;&lt;li&gt;Navigate to the SpecSharp\Microsoft.SpecSharp\LastKnownGood10 directory. Execute &amp;quot;Clean.cmd&amp;quot; and &amp;quot;RegisterLKG.cmd&amp;quot;. You will need to have Administrator privileges in order to execute these scripts, and you need regasm.exe on your path (you may need to right-click on the Visual Studio 2010 Command Prompt and select Run as Administrator). This registers the Spec# compiler that comes in the LastKnownGood10 directory with Visual Studio so that Spec# projects can be loaded into Visual Studio and built. Some of the projects in the compiler are Spec# projects: the compiler is partially boot-strapped.  If you get errors saying that RegAsm could not load a dll, try unblocking that dll (right-click the file ==&amp;gt; Properties ==&amp;gt; Unblock).&lt;/li&gt;
&lt;li&gt;Open up SpecSharp10.sln in Visual Studio 2010 and build the &amp;quot;Debug&amp;quot; configuration (which should be selected by default). Right click on the &amp;quot;Checkin Tests&amp;quot; project and build it to make sure the regressions pass (one of the regression tests fails if the language of your Windows installation is not English; just ignore that test case).&lt;/li&gt;
&lt;li&gt;The previous step builds a new version of the Spec# binaries. If you want to register the new version with Visual Studio, then you should close the Visual Studio IDE, and (using a command prompt with administrator privileges) navigate to the SpecSharp\Microsoft.SpecSharp\Registration directory. Execute &amp;quot;RegisterCurrent.cmd&amp;quot; to register your new version with Visual Studio. If you want to deregister this version, execute the &amp;quot;Clean.cmd&amp;quot; script in this directory.&lt;/li&gt;
&lt;li&gt;If your registered version of Spec# becomes unusable in VisualStudio for any reason, you can try deregistering and registering it again, by repeating (with Visual Studio closed) either step 1 (to go back to the bootstrap version) or step 3 (for your currently-compiled version) above.&lt;/li&gt;
&lt;li&gt;Note that to run the Spec# verifier with a new version, you need to build SscBoogie, as described below.&lt;/li&gt;&lt;/ol&gt;

&lt;h3&gt;SscBoogie (after successfully compiling Spec#)&lt;/h3&gt;
&lt;ol&gt;&lt;li&gt;Navigate to the SscBoogie\Binaries directory, and type &lt;span class="codeInline"&gt;nmake&lt;/span&gt; at a command prompt (this makes local copies of various needed Spec# binaries).&lt;/li&gt;
&lt;li&gt;In the SscBoogie\Source directory, either open SscBoogie.sln in Visual Studio and build the Debug configuration, or from a command prompt type &lt;span class="codeInline"&gt;devenv SscBoogie.sln /build Debug&lt;/span&gt;.&lt;/li&gt;
&lt;li&gt;In the SscBoogie\Test directory, execute runtestall.bat short. Let us know if something doesn&amp;#39;t succeed!&lt;/li&gt;
&lt;li&gt;Go back to the SscBoogie\Binaries directory and type &lt;span class="codeInline"&gt;nmake register&lt;/span&gt; at the command prompt (this copies the binaries for the verifier back to where Spec# can find them).&lt;/li&gt;&lt;/ol&gt;

&lt;h2&gt;Install and Build for Visual Studio 2008&lt;/h2&gt;
If you have the option, we strongly recommend using Visual Studio 2010, since this is the version Spec# is currently developed and tested with. However, if you need to compile with 2008, you can follow exactly the same instructions above, after making the following change. For each of the following three files, find the two occurrences of &amp;quot;;DEV10&amp;quot; (which should be within &amp;quot;DefineConstants&amp;quot; tags), and delete them (just the DEV10 - leave the other constants there): SpecSharp/Microsoft.VisualStudio.CodeTools/PropertyPage/PropertyPage.csproj   SpecSharp/Microsoft.VisualStudio.CodeTools/TaskManager/TaskManager.csproj   SpecSharp/Microsoft.VisualStudio.Package/Microsoft.VisualStudio.Package.csproj&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>wuestholz</author><pubDate>Mon, 25 Jul 2011 19:25:16 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Sources 20110725072516P</guid></item><item><title>Updated Wiki: Sources</title><link>http://specsharp.codeplex.com/wikipage?title=Sources&amp;version=20</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;How to install and build the sources &lt;/h1&gt;
&lt;h2&gt;Install and Build for Visual Studio 2010 (for 2008, see remarks below)&lt;/h2&gt;After downloading the sources via the &amp;quot;Source Code&amp;quot; tab, check to make sure you have any  &lt;a href="http://specsharp.codeplex.com/wikipage?title=External&amp;referringTitle=Sources"&gt;External Dependencies&lt;/a&gt; that you need. Then use the following directions for the program(s) you want to build. Some of them have extra dependencies. Note:
&lt;ul&gt;&lt;li&gt;Some users have reported problems when working under cygwin due to unexpected access permissions and file ownership; we strongly recommend using the Visual Studio 2010 Command Prompt.&lt;/li&gt;&lt;/ul&gt;

&lt;h3&gt;Spec#&lt;/h3&gt;&lt;ol&gt;&lt;li&gt;Navigate to the SpecSharp\Microsoft.SpecSharp\LastKnownGood10 directory. Execute &amp;quot;Clean.cmd&amp;quot; and &amp;quot;RegisterLKG.cmd&amp;quot;. You will need to have Administrator privileges in order to execute these scripts, and you need regasm.exe on your path (you may need to right-click on the Visual Studio 2010 Command Prompt and select Run as Administrator). This registers the Spec# compiler that comes in the LastKnownGood10 directory with Visual Studio so that Spec# projects can be loaded into Visual Studio and built. Some of the projects in the compiler are Spec# projects: the compiler is partially boot-strapped.  If you get errors saying that RegAsm could not load a dll, try unblocking that dll (right-click the file ==&amp;gt; Properties ==&amp;gt; Unblock).&lt;/li&gt;
&lt;li&gt;Open up SpecSharp10.sln in Visual Studio 2010 and build the &amp;quot;Debug&amp;quot; configuration (which should be selected by default). Right click on the &amp;quot;Checkin Tests&amp;quot; project and build it to make sure the regressions pass (one of the regression tests fails if the language of your Windows installation is not English; just ignore that test case).&lt;/li&gt;
&lt;li&gt;The previous step builds a new version of the Spec# binaries. If you want to register the new version with Visual Studio, then you should close the Visual Studio IDE, and (using a command prompt with administrator privileges) navigate to the SpecSharp\Microsoft.SpecSharp\Registration directory. Execute &amp;quot;RegisterCurrent.cmd&amp;quot; to register your new version with Visual Studio. If you want to deregister this version, execute the &amp;quot;Clean.cmd&amp;quot; script in this directory.&lt;/li&gt;
&lt;li&gt;If your registered version of Spec# becomes unusable in VisualStudio for any reason, you can try deregistering and registering it again, by repeating (with Visual Studio closed) either step 1 (to go back to the bootstrap version) or step 3 (for your currently-compiled version) above.&lt;/li&gt;
&lt;li&gt;Note that to run the Spec# verifier with a new version, you need to build SscBoogie, as described below.&lt;/li&gt;&lt;/ol&gt;

&lt;h3&gt;SscBoogie (after successfully compiling Spec#)&lt;/h3&gt;&lt;ol&gt;&lt;li&gt;Navigate to the SscBoogie\Binaries directory, and type &lt;span class="codeInline"&gt;nmake&lt;/span&gt; at a command prompt (this makes local copies of various needed Spec# binaries).&lt;/li&gt;
&lt;li&gt;In the SscBoogie\Source directory, either open SscBoogie.sln in Visual Studio and build the Debug configuration, or from a command prompt type &lt;span class="codeInline"&gt;devenv SscBoogie.sln /build Debug&lt;/span&gt;.&lt;/li&gt;
&lt;li&gt;In the SscBoogie\Test directory, execute runtestall.bat short. Let us know if something doesn&amp;#39;t succeed!&lt;/li&gt;
&lt;li&gt;Go back to the SscBoogie\Binaries directory and type &lt;span class="codeInline"&gt;nmake register&lt;/span&gt; at the command prompt (this copies the binaries for the verifier back to where Spec# can find them).&lt;/li&gt;&lt;/ol&gt;

&lt;h2&gt;Install and Build for Visual Studio 2008&lt;/h2&gt;&lt;ol&gt;&lt;li&gt;If you have the option, we strongly recommend using Visual Studio 2010, since this is the version Spec# is currently developed and tested with. However, if you need to compile with 2008, you can follow exactly the same instructions above, after making the following change. For each of the following three files, find the two occurrences of &amp;quot;;DEV10&amp;quot; (which should be within &amp;quot;DefineConstants&amp;quot; tags), and delete them (just the DEV10 - leave the other constants there): SpecSharp/Microsoft.VisualStudio.CodeTools/PropertyPage/PropertyPage.csproj   SpecSharp/Microsoft.VisualStudio.CodeTools/TaskManager/TaskManager.csproj   SpecSharp/Microsoft.VisualStudio.Package/Microsoft.VisualStudio.Package.csproj&lt;/li&gt;&lt;/ol&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>wuestholz</author><pubDate>Mon, 25 Jul 2011 19:23:23 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Sources 20110725072323P</guid></item><item><title>New Comment on "Binaries"</title><link>http://specsharp.codeplex.com/wikipage?title=Binaries&amp;ANCHOR#C20187</link><description>Hi&amp;#33; I am trying to run spec&amp;#35; on VS2010 Ultimate, I did run command prompt as admin, executed register.cmd&amp;#10;But nothing seems to happen, I can not understand the concept, it is really smth complicated.&amp;#10;Can you provide more comprehensive instructions on how to run spec&amp;#35; in MVS2010&amp;#10;Thank you&amp;#33;</description><author>akku</author><pubDate>Sat, 02 Jul 2011 09:34:38 GMT</pubDate><guid isPermaLink="false">New Comment on "Binaries" 20110702093438A</guid></item></channel></rss>