0

I have VS project with .wsp containing custom forms for list. I need to tune some details on the form - sometimes in aspx file, sometimes in code behind (.cs).

What are the options to tune it without re-deploying wsp after every change (it takes long time to retract, recycle apppool, deploy,..)?

I can edit .aspx directly in 15\TEMPLATES\FEATURES subfolder but still the compiled code is cached - can I (temporarily) disable caching for the development? How about codebehind?

I would appreciate any tips on efficient development (how to quicky tune/test smaller changes).

(SharePoint 2013, Visual Studio 2013, Windows Server 2012R2)

2 Answers 2

3

If it is a user control, you can just replace the .acsx file in the Layouts folder. But if it is a C# file, you need to build the project without changing the assembly version and copy that into the GAC (assembly folder).

There are some third party VS tools such like CKSDev.

1
  • CKSDev is pretty cool
    – eXavier
    Sep 10, 2014 at 9:36
1

For Aspx as you say, you can directly edit the aspx page from 15 hive folder. For code behind changes you have to redeploy the dll. So you can replace the changed code dll in GAC using gacutil command. After replacement app pool recycle/iisreset is required.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.