<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>Common Compiler Infrastructure - Sample applications</title><link>http://ccisamples.codeplex.com/project/feeds/rss</link><description>A set of sample compilers and tools that are built using the Common Compiler Infrastructure.</description><item><title>Commented Issue: CCISharp No Longer builds [6786]</title><link>http://ccisamples.codeplex.com/workitem/6786</link><description>CCISharp no longer builds on a clean check either in VS2010 or using build.cmd.&lt;br /&gt;&lt;br /&gt;The main culprit seems to be Microsoft.Contracts &amp;#40;.NET 2 project&amp;#41;, which conflicts with the System.Diagnostics namespace in .NET 4.&lt;br /&gt;&lt;br /&gt;Framework has to be migrated from .NET 2 to .NET 4 as CCI itself is now in .NET 4, which then causes it to fail due to the issue above.&lt;br /&gt;&lt;br /&gt;Removing Microsoft.Contracts will largely fix these issues.&lt;br /&gt;&lt;br /&gt;However the next issue was&amp;#58;&lt;br /&gt;error CS0618&amp;#58; Warning as Error&amp;#58; &amp;#39;Microsoft.Cci.MutableCodeModel.Contracts.CodeAndContractMutatingVisitor&amp;#39; is obsolete&amp;#58; &amp;#39;Please use CodeAndContractRewriter&amp;#39;&lt;br /&gt;&lt;br /&gt;Resolving this is a much bigger problem as there appears to be quite a fundamental change and I&amp;#39;m not confident enough in the framework yet to make the change myself.  I could however set it to treat the warning as a warning and ignore the obsolescence but at this point I figured it was better to raise the issue and point out the sample is currently unusable.&lt;br /&gt;&lt;br /&gt;Thanks.&lt;br /&gt;Comments: ** Comment from web user: hermanv ** &lt;p&gt;I&amp;#39;ve fixed the build breaks. Adapting CCISharp to use the more modern visitors and mutators will have to wait for Peli to come back from vacation. There is also an issue with the test assembly which runs the code contracts rewriter when it builds, but the rewriter fails for some reason. I do not yet understand this issue.&lt;/p&gt;</description><author>hermanv</author><pubDate>Tue, 21 Feb 2012 18:46:03 GMT</pubDate><guid isPermaLink="false">Commented Issue: CCISharp No Longer builds [6786] 20120221064603P</guid></item><item><title>Source code checked in, #67966</title><link>http://ccisamples.codeplex.com/SourceControl/changeset/changes/67966</link><description>Fix build.</description><author>hermanv</author><pubDate>Tue, 21 Feb 2012 18:42:12 GMT</pubDate><guid isPermaLink="false">Source code checked in, #67966 20120221064212P</guid></item><item><title>Created Issue: CCISharp Nuget [6787]</title><link>http://ccisamples.codeplex.com/workitem/6787</link><description>Creating CCISharp as a Nuget is fairly trivial and would massively increase it&amp;#39;s adoption.  There are some gotchas around install&amp;#47;uninstall scripts that I&amp;#39;m happy to help resolve &amp;#40;I&amp;#39;ve had to resolve them in my own rewriters&amp;#41;.&lt;br /&gt;&lt;br /&gt;The whole framework would be &amp;#43;1 if the CCI core itself was built into a Nuget as well.&lt;br /&gt;&lt;br /&gt;There are real issues with Nuget production, but when it comes to ease of use for the end user it makes things really easy.&lt;br /&gt;&lt;br /&gt;Happy to help if I can get CCISharp to build.&lt;br /&gt;</description><author>thargy</author><pubDate>Tue, 21 Feb 2012 11:15:09 GMT</pubDate><guid isPermaLink="false">Created Issue: CCISharp Nuget [6787] 20120221111509A</guid></item><item><title>Created Issue: CCISharp No Longer builds [6786]</title><link>http://ccisamples.codeplex.com/workitem/6786</link><description>CCISharp no longer builds on a clean check either in VS2010 or using build.cmd.&lt;br /&gt;&lt;br /&gt;The main culprit seems to be Microsoft.Contracts &amp;#40;.NET 2 project&amp;#41;, which conflicts with the System.Diagnostics namespace in .NET 4.&lt;br /&gt;&lt;br /&gt;Framework has to be migrated from .NET 2 to .NET 4 as CCI itself is now in .NET 4, which then causes it to fail due to the issue above.&lt;br /&gt;&lt;br /&gt;Removing Microsoft.Contracts will largely fix these issues.&lt;br /&gt;&lt;br /&gt;However the next issue was&amp;#58;&lt;br /&gt;error CS0618&amp;#58; Warning as Error&amp;#58; &amp;#39;Microsoft.Cci.MutableCodeModel.Contracts.CodeAndContractMutatingVisitor&amp;#39; is obsolete&amp;#58; &amp;#39;Please use CodeAndContractRewriter&amp;#39;&lt;br /&gt;&lt;br /&gt;Resolving this is a much bigger problem as there appears to be quite a fundamental change and I&amp;#39;m not confident enough in the framework yet to make the change myself.  I could however set it to treat the warning as a warning and ignore the obsolescence but at this point I figured it was better to raise the issue and point out the sample is currently unusable.&lt;br /&gt;&lt;br /&gt;Thanks.&lt;br /&gt;</description><author>thargy</author><pubDate>Tue, 21 Feb 2012 11:11:04 GMT</pubDate><guid isPermaLink="false">Created Issue: CCISharp No Longer builds [6786] 20120221111104A</guid></item><item><title>New Comment on "How do I CciSharp"</title><link>http://ccisamples.codeplex.com/wikipage?title=How do I CciSharp&amp;ANCHOR#C22661</link><description>All the issues appear to be around the inclusion of Code Contracts into the BCL causing conflicts with the .NET 2 Microsoft.Contracts project.</description><author>thargy</author><pubDate>Tue, 21 Feb 2012 11:00:12 GMT</pubDate><guid isPermaLink="false">New Comment on "How do I CciSharp" 20120221110012A</guid></item><item><title>New Comment on "How do I CciSharp"</title><link>http://ccisamples.codeplex.com/wikipage?title=How do I CciSharp&amp;ANCHOR#C22659</link><description>Neither opening in VS2010 and building, or build.cmd work on a clean check out any more.</description><author>thargy</author><pubDate>Tue, 21 Feb 2012 10:41:46 GMT</pubDate><guid isPermaLink="false">New Comment on "How do I CciSharp" 20120221104146A</guid></item><item><title>New Post: books about CCI</title><link>http://ccisamples.codeplex.com/discussions/269498</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;There aren't any books that cover CCI. The basic concepts are in most compiler books. One book that I know of and that talks specifically about .NET compilers is Compiling for the .NET Common Language Runtime (CLR) by John Gough.&lt;/p&gt;
&lt;div id="_mcePaste" class="mcePaste" style="position: absolute; width: 1px; height: 1px; overflow: hidden; top: 0px; left: -10000px;"&gt;﻿&lt;/div&gt;&lt;/div&gt;</description><author>hermanv</author><pubDate>Thu, 18 Aug 2011 02:13:10 GMT</pubDate><guid isPermaLink="false">New Post: books about CCI 20110818021310A</guid></item><item><title>New Post: books about CCI</title><link>http://ccisamples.codeplex.com/discussions/269498</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;What is the best resource/book to learn about the concepts of compilers, that would explain concepts closely related to the CCI framework and CciSharp?&lt;/p&gt;
&lt;/div&gt;</description><author>keithwanta</author><pubDate>Thu, 18 Aug 2011 02:08:45 GMT</pubDate><guid isPermaLink="false">New Post: books about CCI 20110818020845A</guid></item><item><title>New Post: CCI samples (source) solution not creating dll files</title><link>http://ccisamples.codeplex.com/discussions/268134</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;This CCI project is incredible!&amp;nbsp; I've only been doing .NET development full time for 6 months now.&amp;nbsp; I stumbled upon this site when I was reading about System.Reflection on Friday and have spent 15 hours looking at this code all weekend.&amp;nbsp; I must be a geek!&amp;nbsp; :-)&lt;/p&gt;&lt;/div&gt;</description><author>keithwanta</author><pubDate>Mon, 08 Aug 2011 04:22:38 GMT</pubDate><guid isPermaLink="false">New Post: CCI samples (source) solution not creating dll files 20110808042238A</guid></item><item><title>New Post: CCI samples (source) solution not creating dll files</title><link>http://ccisamples.codeplex.com/discussions/268134</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I've deleted the downloads and changed the text as suggested.&lt;/p&gt;&lt;/div&gt;</description><author>hermanv</author><pubDate>Mon, 08 Aug 2011 03:28:22 GMT</pubDate><guid isPermaLink="false">New Post: CCI samples (source) solution not creating dll files 20110808032822A</guid></item><item><title>Updated Wiki: How do I?</title><link>http://ccisamples.codeplex.com/wikipage?title=How do I?&amp;version=2</link><description>&lt;div class="wikidoc"&gt;&lt;h3&gt;How do I&lt;/h3&gt;
&lt;h4&gt;Build a CCI sample application&lt;/h4&gt;
First install TortoiseSVN on your PC. Then go to the Source Code tab (in the http://ccisamples.codeplex.com site).  Then click on the &amp;quot;connection instructions&amp;quot; hyperlink under the &amp;quot;Source Control&amp;quot; section and use that SVN path for the SVN checkout option.  Once you&amp;#39;ve checked out the code for the ccisamples project, open a sample solution in the root directory of the source tree (for example, SmallBasic.sln). Now just get Visual Studio to build the solution (I like to hit the build solution button). It is that easy.&lt;br /&gt;&lt;br /&gt;If you want to use the CCI components in a solution that lives in another CodePlex project, or another Subversion repository, simply use the svn:external property to set up a link between the two repositories, and then add the relevant CCI projects to your solution. This technique has been used to make this CodePlex project (ccisamples) import the separate cciast, ccimetadata and xunit CodePlex projects.&lt;br /&gt;
&lt;h4&gt;Execute the test suite&lt;/h4&gt;
CCI uses the &lt;a href="http://xunit.codeplex.com" class="externalLink"&gt;xUnit.net test framework&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; to execute the test suite. With just Visual Studio installed, the test projects are set up to use the basic xUnit.net runner but there are alternative runners that provide a smoother Visual Studio integration. These include:
&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.gallio.org/" class="externalLink"&gt;Gallio&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; (open source)&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.testdriven.net" class="externalLink"&gt;TestDriven .NET&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; (To enable this for xunit, run the xunit.installer project in the Xunit\Main directory.)&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.jetbrains.com/resharper/" class="externalLink"&gt;Resharper&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>hermanv</author><pubDate>Mon, 08 Aug 2011 03:27:04 GMT</pubDate><guid isPermaLink="false">Updated Wiki: How do I? 20110808032704A</guid></item><item><title>New Post: CCI samples (source) solution not creating dll files</title><link>http://ccisamples.codeplex.com/discussions/268134</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Thanks Herman.&amp;nbsp; No, I did not see those instructions easily visible.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Can you tell me what this code is (and how old it is)?&amp;nbsp; Should we not use this code?&lt;/strong&gt;&lt;br /&gt; Downloads tab &amp;gt; click "Latest Build" hyperlink (right side of page) &amp;gt; click on "Sources" hyperlink &amp;gt; click "I Agree" button&lt;/p&gt;
&lt;p&gt;To a new person visiting the site, a lot of assumptions need to be made for these instructions.&amp;nbsp; I guess a typical person viewing the site is concentrated on the Download tab.&amp;nbsp; It just confused me.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;I think it would be clearer if you changed the instructions from this:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Go to the Source Code tab and make sure that you have TortoiseSVN installed. Then simply check out the ccisamples project and open a sample solution in the root directory of the source tree (for example, SmallBasic.sln). Now just get Visual Studio to build  the solution (I like to hit the build solution button). It is that easy.&lt;br /&gt; &lt;br /&gt; If you want to use the CCI components in a solution that lives in another CodePlex project, or another Subversion repository, simply use the svn:external property to set up a link between the two repositories, and then add the relevant CCI projects to your  solution. This technique has been used to make this CodePlex project (ccisamples) import the separate cciast, ccimetadata and xunit CodePlex projects.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;To this:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;First install TortoiseSVN on your PC.&amp;nbsp; Then go to the Source Code tab (in the http://ccisamples.codeplex.com site).&amp;nbsp; Then click on the "connection instructions" hyperlink under the "Source Control" section and use that SVN path for the SVN checkout option.&amp;nbsp;  Once you've checked out the code for the ccisamples project, open a sample solution in the root directory of the source tree (for example, SmallBasic.sln). Now just get Visual Studio to build the solution (I like to hit the build solution button). It is that  easy.&lt;/p&gt;
&lt;p&gt;If you want to use the CCI components in a solution that lives in another CodePlex project, or another Subversion repository, simply use the svn:external property to set up a link between the two repositories, and then add the relevant CCI projects to your  solution. This technique has been used to make this CodePlex project (ccisamples) import the separate cciast, ccimetadata and xunit CodePlex projects.&lt;/p&gt;&lt;/div&gt;</description><author>keithwanta</author><pubDate>Mon, 08 Aug 2011 02:38:17 GMT</pubDate><guid isPermaLink="false">New Post: CCI samples (source) solution not creating dll files 20110808023817A</guid></item><item><title>New Post: CCI samples (source) solution not creating dll files</title><link>http://ccisamples.codeplex.com/discussions/268134</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Did you read this: &lt;a href="http://ccisamples.codeplex.com/wikipage?title=Before%20you%20download%20the%20sources%2c%20READ%20THIS&amp;amp;referringTitle=Home"&gt;http://ccisamples.codeplex.com/wikipage?title=Before%20you%20download%20the%20sources%2c%20READ%20THIS&amp;amp;referringTitle=Home&lt;/a&gt;&amp;nbsp;?&lt;/p&gt;
&lt;p&gt;AST stands for Abstract Syntax Tree.&lt;/p&gt;&lt;/div&gt;</description><author>hermanv</author><pubDate>Mon, 08 Aug 2011 01:08:32 GMT</pubDate><guid isPermaLink="false">New Post: CCI samples (source) solution not creating dll files 20110808010832A</guid></item><item><title>New Post: CCI samples (source) solution not creating dll files</title><link>http://ccisamples.codeplex.com/discussions/268134</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Today I downloaded the source code samples for CCI, and noticed that some of the code didn't compile when I compiled the entire solution.&amp;nbsp; For example, under the .\Ast\Metadata\Sources\ folder, there were several folders.&amp;nbsp; In Visual Studio, Metadata shows  as a folder, and under that folder, there are several namespaces/assemblies.&amp;nbsp; However, these namespaces/assemblies didn't seem to create a dll when I built the entire solution.&amp;nbsp; They don't even appear to be under a *.csproj file, so I'm guessing I need to do that manually  to create a dll or put this code into my own code, yes?&amp;nbsp; I see the references to the actual CCI framework throughout, but didn't see these samples being compiled.&amp;nbsp; Were they supposed to create dll files, or are they not being compiled into namespaces because  they are merely samples and showing how they can be used?&amp;nbsp; If that's the case, that's fine.&amp;nbsp; But I thought i was missing something.&amp;nbsp; If someone can point me to the documentation of this source code, and describe how the files in this solution are laid out, that would be great.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also, I downloaded the binaries for CCISharp earlier.&amp;nbsp; Then I used .NET Reflection to see what the CCISharp was all about because I couldn't find the source code for it.&amp;nbsp; When I looked at it, it seemed completely different from the source code described in my previous paragraph.&amp;nbsp; What code paths in the solution described above are supposed to be part of CCISharp?&lt;/p&gt;
&lt;p&gt;One other question :-)&amp;nbsp; What does AST stand for?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;&lt;/div&gt;</description><author>keithwanta</author><pubDate>Mon, 08 Aug 2011 00:55:34 GMT</pubDate><guid isPermaLink="false">New Post: CCI samples (source) solution not creating dll files 20110808125534A</guid></item><item><title>Source code checked in, #64374</title><link>http://ccisamples.codeplex.com/SourceControl/changeset/changes/64374</link><description>fixed potential null dereference</description><author>pelikhan</author><pubDate>Thu, 28 Jul 2011 21:34:48 GMT</pubDate><guid isPermaLink="false">Source code checked in, #64374 20110728093448P</guid></item><item><title>Source code checked in, #64373</title><link>http://ccisamples.codeplex.com/SourceControl/changeset/changes/64373</link><description>using CodeDeepCopier instead of CodeCopier to avoid losing decompiled method bodies</description><author>pelikhan</author><pubDate>Thu, 28 Jul 2011 21:29:41 GMT</pubDate><guid isPermaLink="false">Source code checked in, #64373 20110728092941P</guid></item><item><title>Source code checked in, #64366</title><link>http://ccisamples.codeplex.com/SourceControl/changeset/changes/64366</link><description>a couple fixees to ccisharp</description><author>pelikhan</author><pubDate>Thu, 28 Jul 2011 05:23:49 GMT</pubDate><guid isPermaLink="false">Source code checked in, #64366 20110728052349A</guid></item><item><title>Source code checked in, #64365</title><link>http://ccisamples.codeplex.com/SourceControl/changeset/changes/64365</link><description>fixed compilation issue</description><author>pelikhan</author><pubDate>Thu, 28 Jul 2011 05:04:03 GMT</pubDate><guid isPermaLink="false">Source code checked in, #64365 20110728050403A</guid></item><item><title>Commented Issue: HelloIL sample throws NullReferenceException [6314]</title><link>http://ccisamples.codeplex.com/workitem/6314</link><description>HelloIL sample throws NullReferenceException. &lt;br /&gt;&lt;br /&gt;To fix it I added following property assignment to NamespaceTypeDefinition&amp;#40;&amp;#41; instance creating code&amp;#58;&lt;br /&gt;BaseClasses &amp;#61;  new List&amp;#60;ITypeReference&amp;#62;&amp;#40;&amp;#41;,&lt;br /&gt;Comments: ** Comment from web user: hermanv ** &lt;p&gt;Thanks. This is fxed now.&lt;/p&gt;</description><author>hermanv</author><pubDate>Tue, 26 Jul 2011 02:10:45 GMT</pubDate><guid isPermaLink="false">Commented Issue: HelloIL sample throws NullReferenceException [6314] 20110726021045A</guid></item><item><title>Commented Issue: Compilation error [6322]</title><link>http://ccisamples.codeplex.com/workitem/6322</link><description>While compilation I got following error &amp;#58;&lt;br /&gt;Failed to locate attribute &amp;#34;AssemblyVersion&amp;#34; in file &amp;#34;&amp;#60;mypath&amp;#62;&amp;#92;Ast&amp;#92;Sources&amp;#92;CodeModel&amp;#92;Properties&amp;#92;AssemblyInfo .cs&amp;#34;&lt;br /&gt;&lt;br /&gt;I got the error on compilation of all projects used separate Build&amp;#92;version.cs file&lt;br /&gt;&lt;br /&gt;How to fix to problem&amp;#63;&lt;br /&gt;Comments: ** Comment from web user: hermanv ** &lt;p&gt;The solutions in ccisamples.codeplex.com did not build for me either because of changes in CCI itself. I&amp;#39;ve fixed things so that they build again, but it is not clear to me that those problems would have caused they error you are seeing. Nevertheless, please try again and let me know if you are still seeing the problem.&lt;/p&gt;</description><author>hermanv</author><pubDate>Tue, 26 Jul 2011 02:03:53 GMT</pubDate><guid isPermaLink="false">Commented Issue: Compilation error [6322] 20110726020353A</guid></item></channel></rss>
