Silverfrost Forums

Welcome to our forums

VS2017 Plugin Causes Crash?

19 Jan 2020 7:27 #24899

I am using FTN95 with Visual Studio 2017. After a recent update to VS2017, when I try to add a .dll reference to a FTN95 project, VS2017 crashes with a message indicating the FTN95 1.0 plugin is the cause. Has anyone else experienced this?

20 Jan 2020 9:01 #24902

What version of Visual Studio do you have?

20 Jan 2020 12:42 #24903

Good afternoon Robert,

I am using VS2017 Version 15.9.19; .NET Version 4.8.03761; FTN95 Version 8.50, of course.

20 Jan 2020 5:38 #24908

Is it a .NET project and what sort of DLL?

20 Jan 2020 6:48 #24909

The .dll's and the calling routines are .NET. The .dll's are written in both FTN95 and C#. They are different classes in different folders. They are older, working programs. The routine that tries to call them is itself a FTN95 Application Extension that is called by a C# main program. The applications are both Console apps (for debugging) and Windows Services (for release). The problem occurs with both. This is all done on a 64-bit server running Windows Server 2012R2. It was all working correctly until the VS2017 update sometime last week.

22 Jan 2020 9:52 #24914

I have updated my Visual Studio 2017 to 15.9.19. The Fortran example 'Fortran Calculator' (At C:\Users\Robert\Documents\FTN95 Examples\NET\FortranCalculator\CS on my machine) compiles, links and runs fine. It creates an FTN95 assembly and calls it from C#.

What problem do you get -- and can you run the example?

24 Jan 2020 12:14 #24919

My problem is not with adding a reference to a C# project; it is with adding a reference to a FTN95 Application Extension project. I click on 'References' under the project in Solution Explorer, then 'Add' ⇒ 'Add Reference' ⇒ 'Browse' ⇒ navigate to the .dll I want, select it, click 'Add' and VS2017 vanishes, instantly, completely. No messages, nothing.

26 Jan 2020 5:11 #24925

I have reproduced this behaviour. It (for me) is specific to the 'Browse' feature. It will add recent assemblies or existing .NET ones quite happily.

27 Jan 2020 11:43 #24936

This is a new plug-in DLL which should allow you to browse for DLL references:

http://www.silverfrost.com/public_downloads/beta/Ftn95Prj.dll

It should go here:

C:\Program Files (x86)\Silverfrost\Silverfrost FTN95 for Visual Studio

Please login to reply.