سؤال

I am a little new to VB.NET but I have downloaded and installed VS Express 2012 for web. I created a web application that is fairly simple. One page. mypage.aspx It runs perfect in studio and responses how I would expect.

What I want to do is make it run from the dll. Not from the mypage.aspx.vb. I see the dll for the project in the bin folder.

But when I move mypage.aspx and web.config, and bin with dll to the server it simply says its missing the code behind page. Do I just need to change the reference to the VB file?

هل كانت مفيدة؟

المحلول

If you want to use dll, Go to Build menu in your Visual Studio and click on Publish Web Site

Set Target Location, there your whole project will be get created with dll and without code behind files.

Use this project to deploy on your server.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top