Build/Test Issues

Dlls dont update

Started by Devman on 5,282 views

hi,

i am on the trial deciding wither to buy or not and have sent emails regarding this problem since week and i did not received any reply so i thought let me make a final try here

I have downloaded it and started playing, it indeed build the project, but the dlls are not update, with .Net Demon everything works fine, so I am confused.

What I am doing is very simple, I have ASP.NET MVC project, and for example, I have created this class below which if I change anything inside of it like adding new property , nothing happens until I manually build the solution, though NCrunch is building fine.

I have made the test by either using ILSpy .Reflector, or by just hitting the website in the browser.

public class ReceivedCampaign
{
public string CampaignId { get; set; }
public List<string> Lists { get; set; }

public ReceivedCampaign()
{
this.Lists = new List<string>();
}
}

more so, any change i make to any C# code wither it is Controller, Class, etc.. it gets compiled correctly but when i test the website i don't see the changes.

thanks in advanced.

Edited

Hi, thanks for posting!

NCrunch is an automated testing tool and background build tool - it isn't designed to build projects for direct execution in IIS or in other applications. It is primary a test runner.

This means that the files output from the NCrunch build are stored within a specially built workspace under the control of NCrunch. These files are heavily manipulated and cannot be used in IIS.

So I'm sorry to say that this behaviour is by design. I think that for what you are trying to do, you need to use .NET Demon instead.


Cheers,

Remco
thanks for reply,

i really hoped this will work out, that is petty :(

Post a reply

Log in to reply.