473,386 Members | 1,835 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

No new DLL in VS2008 project

11
I have a web site project that was last built in May of 2009. I made a copy and tried to build it with VS2008.. it builds... but I don't get a new DLL. The project is a web site with VB code behind the aspx pages. Any idea what I need to do here? I am getting very frustrated with this.
Apr 2 '12 #1
19 2184
Frinavale
9,735 Expert Mod 8TB
A new DLL is only created if code changes are detected or there is nothing already built.

Have you tried publishing the website?
Apr 3 '12 #2
DeShark
11
I have made changes to both .aspx and the .vb support files. It should rebuild the dll right? It is not doing that. I am running Windows 7 and VS2008. I also tried VS2010. Same thing.
Apr 3 '12 #3
DeShark
11
I have even debugged it with a breakpoint in the .vb code. When it hits the breakpoint... the call stack refers to the .dll. Why won't this damn thing compile a new copy of the .dll???
Apr 3 '12 #4
Frinavale
9,735 Expert Mod 8TB
What makes you think a new DLL isn't being compiled?
Have you tried deleting the files in the bin folders?
If you do this, and recompile, you should see that a new DLL has been generated.

-Frinny
Apr 4 '12 #5
DeShark
11
I don't think they are being compiled because they are still dated 2009. Yes I have tried deleting them.. then I get reference errors.. from the inherits= at the top of the .aspx page. I thought deleting them and rebuilding would work too. There is a reference setup to the DLL. Seems like a catch 22. Any ideas? This is really bizzare!
Apr 4 '12 #6
DeShark
11
I've even tried it on a different machine to make sure it wasn't my PC. Same thing. :(
Apr 4 '12 #7
Frinavale
9,735 Expert Mod 8TB
What is the DLL that you are talking about?
What's it called?

-Frinny
Apr 4 '12 #8
DeShark
11
it's named after my project... jld06.dll. I also have jld06.pdb and jld06.xml in the bin folder. All dated 5/6/2009.
Apr 4 '12 #9
Frinavale
9,735 Expert Mod 8TB
Ok, so you have an ASP.NET project called "jld06".

When you build the project you don't get any errors but you are not seeing an updated jld06.dll in the bin folder.

Just out of curiosity, what are the current configuration settings for the Build action for Visual Studio...what does your build action do?

Does it produce files in the release folder in the bin folder or does it produce files in the debug folder in the bin folder?
Apr 4 '12 #10
Frinavale
9,735 Expert Mod 8TB
Wait a second!

Based on the fact that you're getting errors when you delete the bin folder, I have a feeling you don't have the actual project.

I think you might just have the files that were produced from a publish done in 2009.

Does your project have a .sln file?

-Frinny
Apr 4 '12 #11
DeShark
11
Yes I have a project called jld06. Not sure about the build action. I see release and debug options. Neither bin or debug files get updated. I have files in both but they are 2009.

Yes I have a .sln file I am using to open the project. As well as a .vbproj file. Would it be easier to email or chat about this?
Apr 4 '12 #12
Frinavale
9,735 Expert Mod 8TB
I cannot accept anything like that right now due to the configuration that I am using at the moment. If you want to attach it to this thread I can download it later when I'm using a different configuration that allows me to do what you're suggesting.
Apr 4 '12 #13
Frinavale
9,735 Expert Mod 8TB
One more thing, did you transfer this project from over the network?
Or, are you trying to use the project remotely??
Apr 4 '12 #14
DeShark
11
I've tried VS2008 and VS2010 with the same results. I had a local copy of the project that I had saved from the last time I modified it. I tried that one and I downloaded a copy from the production web server. Same results. I am doing all my work on local machines.
Apr 4 '12 #15
Frinavale
9,735 Expert Mod 8TB
I'm just wondering if there is some sort of trust thing going on that is preventing you from building your application.

If your project isn't too large, try creating a completely new project.

Then go through and "add existing items" to it...one by one pulling in the code from the other project...but even then I would be wondering about trust stuff. So if that doesn't work, try recreating the pages and copy/paste the code into the newly created pages.

-Frinny
Apr 4 '12 #16
DeShark
11
Trust thing? What kind of trust issue could there be? You think its related to the project file? Ok I will try making a new project/sln and add the existing items. They refer to the old project with the Inherits= statement in the aspx files. What should I do about that?
Apr 4 '12 #17
DeShark
11
Creating a new project seems to make a difference. I made a new project and started adding things.. it is building now and acting like a real project now. Wow.. I would really like to know why the original ceased to act properly. Very odd.
Apr 4 '12 #18
DeShark
11
Yep that got it. I was able to push through getting the code tweaked to build properly in the new project. Sure would like to know how I could have fixed the project I had. Thanks for your insight.
Apr 4 '12 #19
Frinavale
9,735 Expert Mod 8TB
I'm pretty sure it has something to do with what Windows does to projects that originated from across a network. If Windows determines this is the case, it gives it a Low Trust setting and visual studio will let you look at the code but it won't let you compile it just in case there is something malicious in there.

I've see this happen before with a friend of mine...and I have seen messages when I open projects that I download off the internet...but I've never compiled them so I never ran into the problem personally.

I'm sure there's a way to fix your original project but I don't know what it is. Since I knew that I wouldn't be available to help research the topic when we were talking, I thought it would be quickest for you to just create a new project and add "existing items" from the old project into it.

If you take the time to figure out how to fix the problem, please share it!



-Frinny
Apr 5 '12 #20

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Cirene | last post by:
I used to use the Web Deployment Project with my VS2005 projects. Now I've fully upgraded to VS2008. Do I have to download a new version of the Web Deployment Project? If so where can I find...
14
by: =?Utf-8?B?VG9tYXM=?= | last post by:
I am using the Professional version. In VS2005, in a C++/CLI project, to create a new item, there were 9 templates and in VS2008 there are only 3 templates. For example, now the template for...
8
by: Joe Withawk | last post by:
I have a solution consisting of a c# project as win application and a c++ project as classlibrary. Both are .net 2.0 The classlibrary handles some loading of quicktime movies, but that should not...
20
by: Iouri | last post by:
Hi everybody, We are currently using VS2003 and now we are in the porcess of upgrading to the next Visual Studio version. Does somebody have a real life experience with VS2008? My boss wants to...
3
by: =?Utf-8?B?cmF1bGF2aQ==?= | last post by:
Vista sp1 C# Hi: after I opened a vs2005 IDE... my breakpoints when debugging in vs2008 dont work any more, any ideas? the test finished but It does not stop. Thanks
2
by: cmrchs | last post by:
Hello, I installed Visual Studio 2008 last week, created a web project and could run it. I had to deinstall it for some problems I had, installed it again, try to create a new web-project but...
16
by: Harry Simpson | last post by:
I've been away from ASPNET - I open up a new Web app in VS2008 and go into properties and select to use IIS instead of the personal web server. Then I run in debug mode and it says I have to set...
8
by: Frank Hauptlorenz | last post by:
Hello out there, I changed an existing and good working webservice from an wsHttpBinding to an NetTcpBinding. This is working (after trying some time) and has real a better performance! But...
1
by: Ronald S. Cook | last post by:
When I convert a VS2005 web project to VS2008, there is no "Reference" folder. Also, when pou go to project properties, it doesn't look like the properties page like if you started a new VS2008...
1
by: E11esar | last post by:
Hi there. I have a folder within my asp.net (c#) project in VS2008 called Files. Within this folder is a text file called files.txt. Is there a way to access this folder from the C# code...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.