Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
When I first try to open a VS2008 version in VS2013 a screen comes up with a migration report with the error...

>visual studio needs to make non-functional changes this project in order enable the open visual 2013, 2012, and 2010 sp1 without impacting behavior.

then when the program is ran it starts initially but stops with the error...

'source file: c:\(program name)\calibrationprototype\my project\application.designer.vb
module:
process:

the source file is different from module was built.
would you like debugger use it anyway?'

-yes-

then an 'invalidoperationexception handled error'

'an unhandled exception of type 'system.invalidoperationexception' occurred (projectname).exe

>additional information: error creating form. see exception.innerexception for details. is: could not load or assembly 'nationalinstruments.ui.styles3d, version="13.0.35.242," culture="neutral," publickeytoken: 18cbae0f9955702a'" one its dependencies. system cannot find specified.'

  the code it is pointing at is...

'global.system.diagnostics.debuggerstepthroughattribute()  
        Protected Overrides Sub OnCreateMainForm()
   →         Me.MainForm = Global.(Project Name).LinearCalibrationUI
        End Sub

And when you hover over the Me. by the arrow it has two red x's next to 'InternalCommandLine' and 'Deployment' with the errors as 'Write Only Properties are not yet supported' and '{"Application identity is not set."}, respectively.



-With three errors in the error list all with pointing at  

'Me._connection.ConnectionString = Global.CalibrationPrototype.My.MySettings.Default.TeqAppsConnectionString' 

With "Global.CalibrationPrototype" is not a member of <default>'.
 
Notes.
I have measurement studio 2015 with it version: 15.0.0.49153


What I have tried:

- Changing the VSProj from suggestions I found online.
- Changing the references in the 'My Project" folder in solution explorer.
- Rebuilding

NationalInstruments.UI.Styles3D.dll version-13.0.35.242--- This is a broken dependency under NationalIntstruments.UI.dll ***** How do i make this not broken ********
Posted
Updated 7-May-19 10:13am
v3

1 solution

You're migrating through 4 or 5 versions of VS. You should honestly expect issues.
 
Share this answer
 
Comments
BH2016 7-May-19 14:41pm    
How should i proceed
Dave Kreskowiak 7-May-19 17:03pm    
Try going to the Build menu and click on Clean Solution. Then rebuild the entire solution and run it again.

The error is saying that the .EXE you're running isn't matching the source files you're trying to use to debug against.
BH2016 8-May-19 8:10am    
'Visual Studio cannot start debugging because the debug target 'C:\(Project name)\bin\Debug\(Project name).exe' is missing. Please build the project and retry, or set the OutPath and AssemblyName properties appropriately to point at the correct location for the target assembly.'

Doesnt even let me debug it after trying that. Something with that source file needs to be changed.
BH2016 8-May-19 8:30am    
WARNING: Could not find prerequisite '.NET Framework 3.5' in path 'C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\Bootstrapper\'


WARNING: Could not find prerequisite 'Windows Installer 3.1' in path 'C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\Bootstrapper\'


WARNING: The target version of the .NET Framework in the project does not match the .NET Framework launch condition version '3.5.21022'. Update the version of the .NET Framework launch condition to match the target version of the.NET Framework in the Advanced Compile Options Dialog Box (VB) or the Application Page (C#, F#).

The outputs...something needs updated
BH2016 8-May-19 8:31am    
WARNING: Unable to find dependency 'NATIONALINSTRUMENTS.UI.STYLES3D' (Signature='18CBAE0F9955702A' Version='13.0.35.242') of assembly 'NationalInstruments.UI.dll'
------ Pre-build validation for project 'Setup' completed ------
------ Rebuild All started: Project: Setup, Configuration: Debug ------

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900