# A .NET 3.5 Build

**URL:** <https://community.miniprofiler.com/t/a-net-3-5-build/141>\
**Category:** .NET\
**Created:** [May 8, 2012, 9:29am UTC](https://community.miniprofiler.com/t/a-net-3-5-build/141 "2012-05-08T09:29:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gpaa](https://sea2.discourse-cdn.com/flex016/user_avatar/community.miniprofiler.com/gpaa/32/1042_2.png) [@gpaa](https://community.miniprofiler.com/u/gpaa)\
**Post date:** [May 8, 2012, 9:29am UTC](https://community.miniprofiler.com/t/a-net-3-5-build/141/1 "2012-05-08T09:29:43Z")

</div>

I cringe just asking, but since the VS2010 upgrade was a disaster for us, we’re waiting until about '11 SP 1 before trying it again… Is there the remotest possibility of having a 3.5 build of the profiler made available?

---

<div class="post-metadata">

**Author:** ![jsp](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@jsp](https://community.miniprofiler.com/u/jsp)\
**Post date:** [May 14, 2012, 10:12am UTC](https://community.miniprofiler.com/t/a-net-3-5-build/141/2 "2012-05-14T10:12:02Z")

</div>

Here is the old google code issue history:

[Please support .NET v3.5](http://code.google.com/p/mvc-mini-profiler/issues/detail?id=37)

The two parts that require actual effort are:

- Supporting various MVC versions cleanly, if at all
- ConcurrentDictionary (there’s [one here](http://code.google.com/p/codesmith/source/browse/trunk#trunk%2FTemplates%2FFrameworks%2FPLINQO%2FSource%2FCodeSmith.Data%2FCollections), [seen here](http://stackoverflow.com/questions/2515237/concurrent-dictionary-in-c-sharp) but not sure on licensing)
  - Also shipped in [Rx Extensions back-ported System.Threading](http://www.microsoft.com/en-us/download/details.aspx?id=24940), [seen here](http://stackoverflow.com/questions/6891787/threading-tasks-analog-in-rx-extensions-in-net-3-5)

There are two available implementations in the wings:

- [MiniProfiler, Net35/MVC2 version](https://github.com/rbirkby/MiniProfiler/)
- [Dotnet 3.5 support](https://github.com/SamSaffron/MiniProfiler/pull/9) - github pull # 9

---

<div class="post-metadata">

**Author:** ![rbirkby](https://sea2.discourse-cdn.com/flex016/user_avatar/community.miniprofiler.com/rbirkby/32/1033_2.png) [@rbirkby](https://community.miniprofiler.com/u/rbirkby)\
**Post date:** [June 15, 2012, 6:26am UTC](https://community.miniprofiler.com/t/a-net-3-5-build/141/3 "2012-06-15T06:26:21Z")

</div>

Please ignore my fork - I never did anything after this comment:

```
This is a .Net 3.5/MVC2 fork of MVC Mini Profiler.
So far, it compiles, but is untested.
```

---

<div class="post-metadata">

**Author:** ![Mike\_Mooney](https://sea2.discourse-cdn.com/flex016/user_avatar/community.miniprofiler.com/mike_mooney/32/988_2.png) [@Mike\_Mooney](https://community.miniprofiler.com/u/Mike_Mooney)\
**Post date:** [September 9, 2013, 7:22am UTC](https://community.miniprofiler.com/t/a-net-3-5-build/141/4 "2013-09-09T07:22:23Z")

</div>

FYI, I took a fresh copy of the trunk last Friday (Sept 6 2013) and created a .NET 3.5 fork. I’ve been testing it out with a 3.5 Webforms project I’m supporting, and it seems to work well.

> **[mmooney/MiniProfiler](https://github.com/mmooney/miniprofiler/tree/DotNet35)**
>
> A simple but effective mini-profiler for ASP.NET MVC, ASP.NET and Ruby. - mmooney/MiniProfiler

I skipped most of the MVC stuff, because that is not 3.5-friendly. Sure, I could have tried to port that to and older MVC, but that would be a much larger undertaking I really needed it for Webforms (I can’t test it in a real app that I’m supporting, I don’t want to claim to have done it :))

Anyhow, I’m not going to submit it back as a pull request, but it would really just make the trunk ugly, and this is just a hack until all of the 3.5 stuff finally dies. Sure that will be years, but I wouldn’t want to clutter up the trunk with all of those legacy compiler switches and custom implementations of Guid.TryParse etc.

I tried to minimize the changes to the structure of the code, and wrap everything in compiler switches, so hopefully it will be easy to pull the latest trunk changes moving forward.

I also put a copy of the latest build out on NuGet, and I’ve been using that NuGet version in my testing.

> **[MiniProfilerDotNet35 0.35.4](https://www.nuget.org/packages/MiniProfilerDotNet35/)**
>
> Lightweight mini-profiler, in particular designed for ASP.NET MVC sites (then ported to support .NET 3.5 Webforms sites)

If you see any issues, let me know at @mooneydev.

Cheers,  
Mike Mooney

---

<div class="post-metadata">

**Author:** ![krk](https://sea2.discourse-cdn.com/flex016/user_avatar/community.miniprofiler.com/krk/32/427_2.png) [@krk](https://community.miniprofiler.com/u/krk)\
**Post date:** [December 8, 2012, 4:53am UTC](https://community.miniprofiler.com/t/a-net-3-5-build/141/5 "2012-12-08T04:53:01Z")

</div>

.NET 3.5 support: [https://github.com/SamSaffron/MiniProfiler/pull/94](https://github.com/SamSaffron/MiniProfiler/pull/94)
