SharpDevelop C#6 (or higher) language features support

SharpDevelop C#6 (or higher) language features support

so-chong
Advocate Advocate
3,349 Views
6 Replies
Message 1 of 7

SharpDevelop C#6 (or higher) language features support

so-chong
Advocate
Advocate

Hi,

 

I would like to know if someone have a nice workaround (easy to follow 🙂 to share to have C# 6.0+ supported in SharpDevelop.


I noticed on several Revit versions SharpDevelop only supports up to C# 5.0.

To be sure what i mean by C# 5.0 and C# 6.0;

 

C# 5.0 is equivalent with Windows .NET Framework 4.5 (Visual Studio 2012/13)
C# 6.0 is equivalent with Windows .NET Framework 4.6 (Visual Studio 2015)

 

Compiling C# 6.0+ (C#6 syntax) code in SharpDevelop you will see errors in the text editor when building solution.
Like i have noticed with some code in the BuildingCoder examples (e.g. null-conditional operator).

 

Some search on the net are not very promising as it look like the SharpDevelop development team is not updating anymore.

 

So i have some question, maybe @jeremytammik or the development team can answer some of my questions?

 

  • will there be an update of SharpDevelop(latest version .NET Framework 4.7) within the next release of Revit?
  • what are the future plans with SharpDevelop as a free and open source (IDE) within Revit as pre-installed?
  • are there alternatives in the future, another free IDE instead of SharpDevelop?

Of course, you can always switch to the Micorsoft Visual Studio(VS) environment.

That's a certainty, i know.
Personally, I believe there should always be a free pre-installed IDE as an accessible and userfriendly way to be acquainted with the API beside VS.

Hereby, I would also like to mention there is a 'Revit Idea' (SharpDevelop macro editor) to vote to upgrade to the latest version.

 

https://forums.autodesk.com/t5/revit-ideas/sharpdevelop-macro-editor/idi-p/7341812


Everbody who is using the SharpDevelop i would like you to encourage to vote!

 

Cheers,

 

So-Chong

0 Likes
3,350 Views
6 Replies
Replies (6)
Message 2 of 7

jeremytammik
Autodesk
Autodesk

Dear So-Chong,

 

Thank you for your interest, initiative, and raising the wish list item for this.

 

I have no information about future plans for the IDE. I fully agree that it is an important piece of functionality. I also agree that for full control and maximum flexibility, the easiest way to go is to use the Visual Studio.NET add-in development environment.

 

I wish you the best of luck gathering votes for your good idea!

 

Cheers,

 

Jeremy

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 3 of 7

SONA-ARCHITECTURE
Advocate
Advocate

Hi s-chong and Jeremy

Is it possible to update SharpDevelop ?
 
Is it possible to Copy the XCopyAble version here :https://sourceforge.net/projects/sharpdevelop/
and replace all Revit 20xx\SDA\Folder ?
 
Thx
Pierre NAVARRA
SONA-Architecture.
http://www.sona-architecture.com
https://fr.linkedin.com/in/pierre-navarra-62032a107
0 Likes
Message 4 of 7

jeremytammik
Autodesk
Autodesk

Please try it out and let us know the result.

 

I would be extremely surprised if it succeeds.

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 5 of 7

SONA-ARCHITECTURE
Advocate
Advocate

Arf....It crashed Revit on load!

Pierre NAVARRA
SONA-Architecture.
http://www.sona-architecture.com
https://fr.linkedin.com/in/pierre-navarra-62032a107
0 Likes
Message 6 of 7

jeremytammik
Autodesk
Autodesk

Congratulations on attempting! Thank you for letting us know!

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 7 of 7

adam.krug
Advocate
Advocate

It's a programmers' delight to cause Revit to crash 😄

 

Maybe not so funny when it cannot restart... But still a delight.

0 Likes