Issues rebuilding from Strataframe source code


Author
Message
Marcia G Akins
Marcia G Akins
StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)
Group: StrataFrame Users
Posts: 322, Visits: 529
Ivan George Borges (10/24/2011)
Open two instances of Windows Explorer. Navigate to the SF DLLs in one and to the Windows\assembly on the other. Drag the DLLs from the SF folder to the GAC.


ROF,L and LOL!!! When I take my stupid pills, they really work effectively Blush

Well, I followed your instructions and still no joy. I wonder if this message is trying to tell me what the problem is and I just don't understand what it is trying to tell me:

Warning 1 The primary reference "Microsoft.SqlServer.Smo, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the framework assembly "System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v2.0". To resolve this problem, either remove the reference "Microsoft.SqlServer.Smo, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL" or retarget your application to a framework version which contains "System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089". MicroFour StrataFrame DBEngine


Do you know what this is trying to tell me?
Marcia G Akins
Marcia G Akins
StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)
Group: StrataFrame Users
Posts: 322, Visits: 529
Hi Ivan.

FYI - I was just googling around and I found this which seems to be the cause of my problems:

http://connect.microsoft.com/VisualStudio/feedback/details/651546/microsoft-sqlserver-smo-could-not-be-resolved-because-it-has-an-indirect-dependency-on-the-framework-assembly-system-core-version-3-5-0-0#details

I am going to downgrade my Visual Studio 2010 installation (this application is working with SQL Server 2005) and see if this fixes the problem.

I will keep you posted on results.

Thanks for all of your help!
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
OK Marcia.

Let us know if you need any further assistance.
Marcia G Akins
Marcia G Akins
StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)
Group: StrataFrame Users
Posts: 322, Visits: 529
Ivan George Borges (10/25/2011)Let us know if you need any further assistance.


MAJOR WAAAHHHHHH!!!! w00t

I unistalled SP1, VS2010, reinstalled VS2010 and still no joy. I think that this message:

Warning 1 The primary reference "Microsoft.SqlServer.Smo, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the framework assembly "System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v2.0". To resolve this problem, either remove the reference "Microsoft.SqlServer.Smo, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL" or retarget your application to a framework version which contains "System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089". MicroFour StrataFrame DBEngine


is telling me that I am in some sort of dll hell but I do not know how to resolve it. Can you help me out? I am dead in the water until I can get this issue resolved.
Keith Chisarik
Keith Chisarik
StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)
Group: StrataFrame Users
Posts: 939, Visits: 40K
http://forum.strataframe.net/Topic30169.aspx?Keywords=vs2010%20SP1

I had to change the target framework for SF source to 3.5 for the reasons in my post above. That fixed me.

Keith Chisarik
Marcia G Akins
Marcia G Akins
StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)
Group: StrataFrame Users
Posts: 322, Visits: 529
Keith Chisarik (10/25/2011)
http://forum.strataframe.net/Topic30169.aspx?Keywords=vs2010%20SP1

I had to change the target framework for SF source to 3.5 for the reasons in my post above. That fixed me.


Hi Keith.

I hate to sound stupid here, but what do I need to change to get SF to target version 3.5?
Keith Chisarik
Keith Chisarik
StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)
Group: StrataFrame Users
Posts: 939, Visits: 40K
Project Properties-Compile Tab-Advanced Compile Options Button-Target Framework is at the bottom

Disclaimer: I never received a response to my post asking if this was "safe", I did it a month ago and have not had problems, beyond that knowledge do at your own risk Smile



I don't change my source, just compile in Debug to allow me to step into the SF source.



Keith

Keith Chisarik
Marcia G Akins
Marcia G Akins
StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)
Group: StrataFrame Users
Posts: 322, Visits: 529
Keith Chisarik (10/26/2011)
Project Properties-Compile Tab-Advanced Compile Options Button-Target Framework is at the bottom

Disclaimer: I never received a response to my post asking if this was "safe", I did it a month ago and have not had problems, beyond that knowledge do at your own risk Smile

I don't change my source, just compile in Debug to allow me to step into the SF source.
 Keith
Hi Keith.

Thanks a million before taxes!

FWIW, I never change framework code either - people who do tend to get locked out of upgrades Smile If I need something to behave alittle differently, I just create a subclass...
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search